| Description | Tests | Scoring | |||||
|---|---|---|---|---|---|---|---|
| Pass | Fail | Error | Unkn. | Score | Max | Percent | |
| 1 Initial Setup | 47 | 3 | 0 | 0 | 47.0 | 50.0 | 94% |
| 1.1 Filesystem Configuration | 22 | 0 | 0 | 0 | 22.0 | 22.0 | 100% |
| 1.1.1 Disable unused filesystems | 3 | 0 | 0 | 0 | 3.0 | 3.0 | 100% |
| 1.2 Configure Software Updates | 1 | 0 | 0 | 0 | 1.0 | 1.0 | 100% |
| 1.3 Configure sudo | 2 | 1 | 0 | 0 | 2.0 | 3.0 | 67% |
| 1.4 Filesystem Integrity Checking | 2 | 0 | 0 | 0 | 2.0 | 2.0 | 100% |
| 1.5 Secure Boot Settings | 3 | 0 | 0 | 0 | 3.0 | 3.0 | 100% |
| 1.6 Additional Process Hardening | 2 | 0 | 0 | 0 | 2.0 | 2.0 | 100% |
| 1.7 Mandatory Access Control | 7 | 0 | 0 | 0 | 7.0 | 7.0 | 100% |
| 1.7.1 Configure SELinux | 7 | 0 | 0 | 0 | 7.0 | 7.0 | 100% |
| 1.8 Warning Banners | 7 | 0 | 0 | 0 | 7.0 | 7.0 | 100% |
| 1.8.1 Command Line Warning Banners | 6 | 0 | 0 | 0 | 6.0 | 6.0 | 100% |
| 2 Services | 22 | 0 | 0 | 0 | 22.0 | 22.0 | 100% |
| 2.1 inetd Services | 1 | 0 | 0 | 0 | 1.0 | 1.0 | 100% |
| 2.2 Special Purpose Services | 18 | 0 | 0 | 0 | 18.0 | 18.0 | 100% |
| 2.2.1 Time Synchronization | 1 | 0 | 0 | 0 | 1.0 | 1.0 | 100% |
| 2.3 Service Clients | 3 | 0 | 0 | 0 | 3.0 | 3.0 | 100% |
| 3 Network Configuration | 32 | 0 | 0 | 0 | 32.0 | 32.0 | 100% |
| 3.1 Network Parameters (Host Only) | 2 | 0 | 0 | 0 | 2.0 | 2.0 | 100% |
| 3.2 Network Parameters (Host and Router) | 9 | 0 | 0 | 0 | 9.0 | 9.0 | 100% |
| 3.3 Uncommon Network Protocols | 4 | 0 | 0 | 0 | 4.0 | 4.0 | 100% |
| 3.4 Firewall Configuration | 16 | 0 | 0 | 0 | 16.0 | 16.0 | 100% |
| 3.4.1 Ensure Firewall software is installed | 1 | 0 | 0 | 0 | 1.0 | 1.0 | 100% |
| 3.4.2 Configure firewalld | 4 | 0 | 0 | 0 | 4.0 | 4.0 | 100% |
| 3.4.3 Configure nftables | 6 | 0 | 0 | 0 | 6.0 | 6.0 | 100% |
| 3.4.4 Configure iptables | 5 | 0 | 0 | 0 | 5.0 | 5.0 | 100% |
| 3.4.4.1 Configure IPv4 iptables | 3 | 0 | 0 | 0 | 3.0 | 3.0 | 100% |
| 3.4.4.2 Configure IPv6 ip6tables | 2 | 0 | 0 | 0 | 2.0 | 2.0 | 100% |
| 4 Logging and Auditing | 21 | 9 | 0 | 0 | 21.0 | 30.0 | 70% |
| 4.1 Configure System Accounting (auditd) | 17 | 5 | 0 | 0 | 17.0 | 22.0 | 77% |
| 4.1.1 Ensure auditing is enabled | 4 | 0 | 0 | 0 | 4.0 | 4.0 | 100% |
| 4.1.2 Configure Data Retention | 3 | 0 | 0 | 0 | 3.0 | 3.0 | 100% |
| 4.2 Configure Logging | 4 | 4 | 0 | 0 | 4.0 | 8.0 | 50% |
| 4.2.1 Configure rsyslog | 4 | 0 | 0 | 0 | 4.0 | 4.0 | 100% |
| 4.2.2 Configure journald | 0 | 3 | 0 | 0 | 0.0 | 3.0 | 0% |
| 5 Access, Authentication and Authorization | 38 | 7 | 0 | 0 | 38.0 | 45.0 | 84% |
| 5.1 Configure cron | 8 | 0 | 0 | 0 | 8.0 | 8.0 | 100% |
| 5.2 SSH Server Configuration | 17 | 3 | 0 | 0 | 17.0 | 20.0 | 85% |
| 5.3 Configure authselect | 3 | 0 | 0 | 0 | 3.0 | 3.0 | 100% |
| 5.4 Configure PAM | 1 | 3 | 0 | 0 | 1.0 | 4.0 | 25% |
| 5.5 User Accounts and Environment | 8 | 1 | 0 | 0 | 8.0 | 9.0 | 89% |
| 5.5.1 Set Shadow Password Suite Parameters | 5 | 0 | 0 | 0 | 5.0 | 5.0 | 100% |
| 6 System Maintenance | 31 | 0 | 0 | 0 | 31.0 | 31.0 | 100% |
| 6.1 System File Permissions | 11 | 0 | 0 | 0 | 11.0 | 11.0 | 100% |
| 6.2 User and Group Settings | 20 | 0 | 0 | 0 | 20.0 | 20.0 | 100% |
| Total | 191 | 19 | 0 | 0 | 191.0 | 210.0 | 91% |
Note: Actual scores are subject to rounding errors. The sum of these values may not result in the exact overall score.
This benchmark contains 4 profiles.The Level 2 - Server profile was used for this assessment.
| Title | Description |
|---|---|
| Level 1 - Server |
Items in this profile intend to:
This profile is intended for servers. Show Profile XML
<xccdf:Profile xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sce="http://open-scap.org/page/SCE_xccdf_stream"
xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog"
xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
id="xccdf_org.cisecurity.benchmarks_profile_Level_1_-_Server">
<xccdf:title xml:lang="en">Level 1 - Server</xccdf:title>
<xccdf:description xml:lang="en">
<xhtml:p>Items in this profile intend to:</xhtml:p>
<xhtml:ul>
<xhtml:li>be practical and prudent;</xhtml:li>
<xhtml:li>provide a clear security benefit; and</xhtml:li>
<xhtml:li>not inhibit the utility of the technology beyond acceptable means.</xhtml:li>
</xhtml:ul>
<xhtml:p>This profile is intended for servers.</xhtml:p>
</xccdf:description>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.1_Ensure_mounting_of_cramfs_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.3_Ensure_mounting_of_squashfs_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.4_Ensure_mounting_of_udf_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.2_Ensure_tmp_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.3_Ensure_nodev_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.4_Ensure_nosuid_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.5_Ensure_noexec_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.8_Ensure_nodev_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.9_Ensure_nosuid_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.10_Ensure_noexec_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.14_Ensure_nodev_option_set_on_home_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.15_Ensure_nodev_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.16_Ensure_nosuid_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.17_Ensure_noexec_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.18_Ensure_nodev_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.19_Ensure_nosuid_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.20_Ensure_noexec_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.21_Ensure_sticky_bit_is_set_on_all_world-writable_directories"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.22_Disable_Automounting"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.23_Disable_USB_Storage"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.1_Ensure_Red_Hat_Subscription_Manager_connection_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.2_Disable_the_rhnsd_Daemon"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.3_Ensure_GPG_keys_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.4_Ensure_gpgcheck_is_globally_activated"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.5_Ensure_package_manager_repositories_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.1_Ensure_sudo_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.2_Ensure_sudo_commands_use_pty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.3_Ensure_sudo_log_file_exists"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.4.1_Ensure_AIDE_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.4.2_Ensure_filesystem_integrity_is_regularly_checked"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.1_Ensure_permissions_on_bootloader_config_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.2_Ensure_bootloader_password_is_set"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.3_Ensure_authentication_required_for_single_user_mode"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.6.1_Ensure_core_dumps_are_restricted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.6.2_Ensure_address_space_layout_randomization_ASLR_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.1_Ensure_message_of_the_day_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.2_Ensure_local_login_warning_banner_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.3_Ensure_remote_login_warning_banner_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.4_Ensure_permissions_on_etcmotd_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.5_Ensure_permissions_on_etcissue_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.6_Ensure_permissions_on_etcissue.net_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.2_Ensure_GDM_login_banner_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.9_Ensure_updates_patches_and_additional_security_software_are_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.10_Ensure_system-wide_crypto_policy_is_not_legacy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.1.1_Ensure_xinetd_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.1.1_Ensure_time_synchronization_is_in_use"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.1.2_Ensure_chrony_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.2_Ensure_X_Window_System_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.3_Ensure_rsync_service_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.4_Ensure_Avahi_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.5_Ensure_SNMP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.6_Ensure_HTTP_Proxy_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.7_Ensure_Samba_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.8_Ensure_IMAP_and_POP3_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.9_Ensure_HTTP_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.10_Ensure_FTP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.11_Ensure_DNS_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.12_Ensure_NFS_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.13_Ensure__RPC_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.14_Ensure_LDAP_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.15_Ensure_DHCP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.16_Ensure_CUPS_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.17_Ensure_NIS_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.18_Ensure_mail_transfer_agent_is_configured_for_local-only_mode"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.1_Ensure_NIS_Client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.2_Ensure_telnet_client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.3_Ensure_LDAP_client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.1.1_Ensure_IP_forwarding_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.1.2_Ensure_packet_redirect_sending_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.1_Ensure_source_routed_packets_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.2_Ensure_ICMP_redirects_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.3_Ensure_secure_ICMP_redirects_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.4_Ensure_suspicious_packets_are_logged"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.5_Ensure_broadcast_ICMP_requests_are_ignored"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.6_Ensure_bogus_ICMP_responses_are_ignored"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.7_Ensure_Reverse_Path_Filtering_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.8_Ensure_TCP_SYN_Cookies_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.9_Ensure_IPv6_router_advertisements_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.1.1_Ensure_a_Firewall_package_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.1_Ensure_firewalld_service_is_enabled_and_running"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.2_Ensure_iptables_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.3_Ensure_nftables_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.4_Ensure_default_zone_is_set"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.5_Ensure_network_interfaces_are_assigned_to_appropriate_zone"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.6_Ensure_unnecessary_services_and_ports_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.1_Ensure_iptables_are_flushed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.2_Ensure_a_table_exists"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.3_Ensure_base_chains_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.4_Ensure_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.5_Ensure_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.6_Ensure_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.7_Ensure_nftables_service_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.8_Ensure_nftables_rules_are_permanent"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.1_Ensure_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.2_Ensure_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.3_Ensure_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.4_Ensure_firewall_rules_exist_for_all_open_ports"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.1_Ensure_IPv6_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.2_Ensure_IPv6_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.3_Ensure_IPv6_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.4_Ensure_IPv6_firewall_rules_exist_for_all_open_ports"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.5_Ensure_wireless_interfaces_are_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.1_Ensure_rsyslog_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.2_Ensure_rsyslog_Service_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.3_Ensure_rsyslog_default_file_permissions_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.4_Ensure_logging_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.5_Ensure_rsyslog_is_configured_to_send_logs_to_a_remote_log_host"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.6_Ensure_remote_rsyslog_messages_are_only_accepted_on_designated_log_hosts."
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.1_Ensure_journald_is_configured_to_send_logs_to_rsyslog"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.2_Ensure_journald_is_configured_to_compress_large_log_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.3_Ensure_journald_is_configured_to_write_logfiles_to_persistent_disk"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.3_Ensure_permissions_on_all_logfiles_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.3_Ensure_logrotate_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.1_Ensure_cron_daemon_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.2_Ensure_permissions_on_etccrontab_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.3_Ensure_permissions_on_etccron.hourly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.4_Ensure_permissions_on_etccron.daily_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.5_Ensure_permissions_on_etccron.weekly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.6_Ensure_permissions_on_etccron.monthly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.7_Ensure_permissions_on_etccron.d_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.8_Ensure_atcron_is_restricted_to_authorized_users"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.1_Ensure_permissions_on_etcsshsshd_config_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.2_Ensure_SSH_access_is_limited"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.3_Ensure_permissions_on_SSH_private_host_key_files_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.4_Ensure_permissions_on_SSH_public_host_key_files_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.5_Ensure_SSH_LogLevel_is_appropriate"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.7_Ensure_SSH_MaxAuthTries_is_set_to_4_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.8_Ensure_SSH_IgnoreRhosts_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.9_Ensure_SSH_HostbasedAuthentication_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.10_Ensure_SSH_root_login_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.11_Ensure_SSH_PermitEmptyPasswords_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.12_Ensure_SSH_PermitUserEnvironment_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.13_Ensure_SSH_Idle_Timeout_Interval_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.14_Ensure_SSH_LoginGraceTime_is_set_to_one_minute_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.15_Ensure_SSH_warning_banner_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.16_Ensure_SSH_PAM_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.18_Ensure_SSH_MaxStartups_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.19_Ensure_SSH_MaxSessions_is_set_to_4_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.20_Ensure_system-wide_crypto_policy_is_not_over-ridden"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.1_Create_custom_authselect_profile"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.2_Select_authselect_profile"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.3_Ensure_authselect_includes_with-faillock"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.1_Ensure_password_creation_requirements_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.2_Ensure_lockout_for_failed_password_attempts_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.3_Ensure_password_reuse_is_limited"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.4_Ensure_password_hashing_algorithm_is_SHA-512"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.1_Ensure_password_expiration_is_365_days_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.2_Ensure_minimum_days_between_password_changes_is_7_or_more"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.3_Ensure_password_expiration_warning_days_is_7_or_more"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.4_Ensure_inactive_password_lock_is_30_days_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.5_Ensure_all_users_last_password_change_date_is_in_the_past"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.2_Ensure_system_accounts_are_secured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.3_Ensure_default_user_shell_timeout_is_900_seconds_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.4_Ensure_default_group_for_the_root_account_is_GID_0"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.5_Ensure_default_user_umask_is_027_or_more_restrictive"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.6_Ensure_root_login_is_restricted_to_system_console"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.7_Ensure_access_to_the_su_command_is_restricted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.2_Ensure_permissions_on_etcpasswd_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.3_Ensure_permissions_on_etcshadow_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.4_Ensure_permissions_on_etcgroup_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.5_Ensure_permissions_on_etcgshadow_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.6_Ensure_permissions_on_etcpasswd-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.7_Ensure_permissions_on_etcshadow-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.8_Ensure_permissions_on_etcgroup-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.9_Ensure_permissions_on_etcgshadow-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.10_Ensure_no_world_writable_files_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.11_Ensure_no_unowned_files_or_directories_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.12_Ensure_no_ungrouped_files_or_directories_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.13_Audit_SUID_executables"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.14_Audit_SGID_executables"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.1_Ensure_password_fields_are_not_empty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.2_Ensure_no_legacy__entries_exist_in_etcpasswd"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.3_Ensure_root_PATH_Integrity"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.4_Ensure_no_legacy__entries_exist_in_etcshadow"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.5_Ensure_no_legacy__entries_exist_in_etcgroup"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.6_Ensure_root_is_the_only_UID_0_account"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.7_Ensure_users_home_directories_permissions_are_750_or_more_restrictive"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.8_Ensure_users_own_their_home_directories"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.9_Ensure_users_dot_files_are_not_group_or_world_writable"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.10_Ensure_no_users_have_.forward_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.11_Ensure_no_users_have_.netrc_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.12_Ensure_users_.netrc_Files_are_not_group_or_world_accessible"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.13_Ensure_no_users_have_.rhosts_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.14_Ensure_all_groups_in_etcpasswd_exist_in_etcgroup"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.15_Ensure_no_duplicate_UIDs_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.16_Ensure_no_duplicate_GIDs_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.17_Ensure_no_duplicate_user_names_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.18_Ensure_no_duplicate_group_names_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.19_Ensure_shadow_group_is_empty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.20_Ensure_all_users_home_directories_exist"
selected="true"/>
</xccdf:Profile>
|
| Level 2 - Server |
This profile extends the "Level 1 - Server" profile. Items in this profile exhibit one or more of the following characteristics:
This profile is intended for servers. Show Profile XML
<xccdf:Profile xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sce="http://open-scap.org/page/SCE_xccdf_stream"
xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog"
xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
id="xccdf_org.cisecurity.benchmarks_profile_Level_2_-_Server">
<xccdf:title xml:lang="en">Level 2 - Server</xccdf:title>
<xccdf:description xml:lang="en">
<xhtml:p>This profile extends the "Level 1 - Server" profile. Items in this profile exhibit one or more of the following characteristics:</xhtml:p>
<xhtml:ul>
<xhtml:li>are intended for environments or use cases where security is paramount.</xhtml:li>
<xhtml:li>acts as defense in depth measure.</xhtml:li>
<xhtml:li>may negatively inhibit the utility or performance of the technology.</xhtml:li>
</xhtml:ul>
<xhtml:p>This profile is intended for servers.</xhtml:p>
</xccdf:description>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.1_Ensure_mounting_of_cramfs_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.2_Ensure_mounting_of_vFAT_filesystems_is_limited"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.3_Ensure_mounting_of_squashfs_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.4_Ensure_mounting_of_udf_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.2_Ensure_tmp_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.3_Ensure_nodev_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.4_Ensure_nosuid_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.5_Ensure_noexec_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.6_Ensure_separate_partition_exists_for_var"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.7_Ensure_separate_partition_exists_for_vartmp"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.8_Ensure_nodev_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.9_Ensure_nosuid_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.10_Ensure_noexec_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.11_Ensure_separate_partition_exists_for_varlog"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.12_Ensure_separate_partition_exists_for_varlogaudit"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.13_Ensure_separate_partition_exists_for_home"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.14_Ensure_nodev_option_set_on_home_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.15_Ensure_nodev_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.16_Ensure_nosuid_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.17_Ensure_noexec_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.18_Ensure_nodev_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.19_Ensure_nosuid_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.20_Ensure_noexec_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.21_Ensure_sticky_bit_is_set_on_all_world-writable_directories"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.22_Disable_Automounting"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.23_Disable_USB_Storage"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.1_Ensure_Red_Hat_Subscription_Manager_connection_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.2_Disable_the_rhnsd_Daemon"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.3_Ensure_GPG_keys_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.4_Ensure_gpgcheck_is_globally_activated"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.5_Ensure_package_manager_repositories_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.1_Ensure_sudo_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.2_Ensure_sudo_commands_use_pty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.3_Ensure_sudo_log_file_exists"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.4.1_Ensure_AIDE_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.4.2_Ensure_filesystem_integrity_is_regularly_checked"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.1_Ensure_permissions_on_bootloader_config_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.2_Ensure_bootloader_password_is_set"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.3_Ensure_authentication_required_for_single_user_mode"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.6.1_Ensure_core_dumps_are_restricted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.6.2_Ensure_address_space_layout_randomization_ASLR_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.1_Ensure_SELinux_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.2_Ensure_SELinux_is_not_disabled_in_bootloader_configuration"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.3_Ensure_SELinux_policy_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.4_Ensure_the_SELinux_state_is_enforcing"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.5_Ensure_no_unconfined_services_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.6_Ensure_SETroubleshoot_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.7_Ensure_the_MCS_Translation_Service_mcstrans_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.1_Ensure_message_of_the_day_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.2_Ensure_local_login_warning_banner_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.3_Ensure_remote_login_warning_banner_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.4_Ensure_permissions_on_etcmotd_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.5_Ensure_permissions_on_etcissue_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.6_Ensure_permissions_on_etcissue.net_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.2_Ensure_GDM_login_banner_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.9_Ensure_updates_patches_and_additional_security_software_are_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.10_Ensure_system-wide_crypto_policy_is_not_legacy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.11_Ensure_system-wide_crypto_policy_is_FUTURE_or_FIPS"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.1.1_Ensure_xinetd_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.1.1_Ensure_time_synchronization_is_in_use"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.1.2_Ensure_chrony_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.2_Ensure_X_Window_System_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.3_Ensure_rsync_service_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.4_Ensure_Avahi_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.5_Ensure_SNMP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.6_Ensure_HTTP_Proxy_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.7_Ensure_Samba_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.8_Ensure_IMAP_and_POP3_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.9_Ensure_HTTP_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.10_Ensure_FTP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.11_Ensure_DNS_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.12_Ensure_NFS_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.13_Ensure__RPC_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.14_Ensure_LDAP_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.15_Ensure_DHCP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.16_Ensure_CUPS_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.17_Ensure_NIS_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.18_Ensure_mail_transfer_agent_is_configured_for_local-only_mode"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.1_Ensure_NIS_Client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.2_Ensure_telnet_client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.3_Ensure_LDAP_client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.1.1_Ensure_IP_forwarding_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.1.2_Ensure_packet_redirect_sending_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.1_Ensure_source_routed_packets_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.2_Ensure_ICMP_redirects_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.3_Ensure_secure_ICMP_redirects_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.4_Ensure_suspicious_packets_are_logged"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.5_Ensure_broadcast_ICMP_requests_are_ignored"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.6_Ensure_bogus_ICMP_responses_are_ignored"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.7_Ensure_Reverse_Path_Filtering_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.8_Ensure_TCP_SYN_Cookies_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.9_Ensure_IPv6_router_advertisements_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.3.1_Ensure_DCCP_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.3.2_Ensure_SCTP_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.3.3_Ensure_RDS_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.3.4_Ensure_TIPC_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.1.1_Ensure_a_Firewall_package_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.1_Ensure_firewalld_service_is_enabled_and_running"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.2_Ensure_iptables_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.3_Ensure_nftables_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.4_Ensure_default_zone_is_set"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.5_Ensure_network_interfaces_are_assigned_to_appropriate_zone"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.6_Ensure_unnecessary_services_and_ports_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.1_Ensure_iptables_are_flushed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.2_Ensure_a_table_exists"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.3_Ensure_base_chains_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.4_Ensure_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.5_Ensure_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.6_Ensure_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.7_Ensure_nftables_service_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.8_Ensure_nftables_rules_are_permanent"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.1_Ensure_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.2_Ensure_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.3_Ensure_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.4_Ensure_firewall_rules_exist_for_all_open_ports"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.1_Ensure_IPv6_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.2_Ensure_IPv6_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.3_Ensure_IPv6_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.4_Ensure_IPv6_firewall_rules_exist_for_all_open_ports"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.5_Ensure_wireless_interfaces_are_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.6_Disable_IPv6"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.1_Ensure_auditd_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.2_Ensure_auditd_service_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.3_Ensure_auditing_for_processes_that_start_prior_to_auditd_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.4_Ensure_audit_backlog_limit_is_sufficient"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.2.1_Ensure_audit_log_storage_size_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.2.2_Ensure_audit_logs_are_not_automatically_deleted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.2.3_Ensure_system_is_disabled_when_audit_logs_are_full"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.3_Ensure_changes_to_system_administration_scope_sudoers_is_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.4_Ensure_login_and_logout_events_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.5_Ensure_session_initiation_information_is_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.6_Ensure_events_that_modify_date_and_time_information_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.7_Ensure_events_that_modify_the_systems_Mandatory_Access_Controls_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.8_Ensure_events_that_modify_the_systems_network_environment_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.9_Ensure_discretionary_access_control_permission_modification_events_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.10_Ensure_unsuccessful_unauthorized_file_access_attempts_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.11_Ensure_events_that_modify_usergroup_information_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.12_Ensure_successful_file_system_mounts_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.13_Ensure_use_of_privileged_commands_is_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.14_Ensure_file_deletion_events_by_users_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.15_Ensure_kernel_module_loading_and_unloading_is_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.16_Ensure_system_administrator_actions_sudolog_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.17_Ensure_the_audit_configuration_is_immutable"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.1_Ensure_rsyslog_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.2_Ensure_rsyslog_Service_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.3_Ensure_rsyslog_default_file_permissions_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.4_Ensure_logging_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.5_Ensure_rsyslog_is_configured_to_send_logs_to_a_remote_log_host"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.6_Ensure_remote_rsyslog_messages_are_only_accepted_on_designated_log_hosts."
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.1_Ensure_journald_is_configured_to_send_logs_to_rsyslog"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.2_Ensure_journald_is_configured_to_compress_large_log_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.3_Ensure_journald_is_configured_to_write_logfiles_to_persistent_disk"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.3_Ensure_permissions_on_all_logfiles_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.3_Ensure_logrotate_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.1_Ensure_cron_daemon_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.2_Ensure_permissions_on_etccrontab_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.3_Ensure_permissions_on_etccron.hourly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.4_Ensure_permissions_on_etccron.daily_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.5_Ensure_permissions_on_etccron.weekly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.6_Ensure_permissions_on_etccron.monthly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.7_Ensure_permissions_on_etccron.d_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.8_Ensure_atcron_is_restricted_to_authorized_users"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.1_Ensure_permissions_on_etcsshsshd_config_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.2_Ensure_SSH_access_is_limited"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.3_Ensure_permissions_on_SSH_private_host_key_files_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.4_Ensure_permissions_on_SSH_public_host_key_files_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.5_Ensure_SSH_LogLevel_is_appropriate"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.6_Ensure_SSH_X11_forwarding_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.7_Ensure_SSH_MaxAuthTries_is_set_to_4_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.8_Ensure_SSH_IgnoreRhosts_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.9_Ensure_SSH_HostbasedAuthentication_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.10_Ensure_SSH_root_login_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.11_Ensure_SSH_PermitEmptyPasswords_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.12_Ensure_SSH_PermitUserEnvironment_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.13_Ensure_SSH_Idle_Timeout_Interval_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.14_Ensure_SSH_LoginGraceTime_is_set_to_one_minute_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.15_Ensure_SSH_warning_banner_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.16_Ensure_SSH_PAM_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.17_Ensure_SSH_AllowTcpForwarding_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.18_Ensure_SSH_MaxStartups_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.19_Ensure_SSH_MaxSessions_is_set_to_4_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.20_Ensure_system-wide_crypto_policy_is_not_over-ridden"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.1_Create_custom_authselect_profile"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.2_Select_authselect_profile"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.3_Ensure_authselect_includes_with-faillock"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.1_Ensure_password_creation_requirements_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.2_Ensure_lockout_for_failed_password_attempts_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.3_Ensure_password_reuse_is_limited"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.4_Ensure_password_hashing_algorithm_is_SHA-512"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.1_Ensure_password_expiration_is_365_days_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.2_Ensure_minimum_days_between_password_changes_is_7_or_more"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.3_Ensure_password_expiration_warning_days_is_7_or_more"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.4_Ensure_inactive_password_lock_is_30_days_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.5_Ensure_all_users_last_password_change_date_is_in_the_past"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.2_Ensure_system_accounts_are_secured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.3_Ensure_default_user_shell_timeout_is_900_seconds_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.4_Ensure_default_group_for_the_root_account_is_GID_0"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.5_Ensure_default_user_umask_is_027_or_more_restrictive"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.6_Ensure_root_login_is_restricted_to_system_console"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.7_Ensure_access_to_the_su_command_is_restricted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.1_Audit_system_file_permissions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.2_Ensure_permissions_on_etcpasswd_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.3_Ensure_permissions_on_etcshadow_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.4_Ensure_permissions_on_etcgroup_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.5_Ensure_permissions_on_etcgshadow_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.6_Ensure_permissions_on_etcpasswd-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.7_Ensure_permissions_on_etcshadow-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.8_Ensure_permissions_on_etcgroup-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.9_Ensure_permissions_on_etcgshadow-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.10_Ensure_no_world_writable_files_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.11_Ensure_no_unowned_files_or_directories_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.12_Ensure_no_ungrouped_files_or_directories_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.13_Audit_SUID_executables"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.14_Audit_SGID_executables"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.1_Ensure_password_fields_are_not_empty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.2_Ensure_no_legacy__entries_exist_in_etcpasswd"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.3_Ensure_root_PATH_Integrity"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.4_Ensure_no_legacy__entries_exist_in_etcshadow"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.5_Ensure_no_legacy__entries_exist_in_etcgroup"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.6_Ensure_root_is_the_only_UID_0_account"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.7_Ensure_users_home_directories_permissions_are_750_or_more_restrictive"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.8_Ensure_users_own_their_home_directories"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.9_Ensure_users_dot_files_are_not_group_or_world_writable"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.10_Ensure_no_users_have_.forward_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.11_Ensure_no_users_have_.netrc_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.12_Ensure_users_.netrc_Files_are_not_group_or_world_accessible"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.13_Ensure_no_users_have_.rhosts_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.14_Ensure_all_groups_in_etcpasswd_exist_in_etcgroup"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.15_Ensure_no_duplicate_UIDs_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.16_Ensure_no_duplicate_GIDs_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.17_Ensure_no_duplicate_user_names_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.18_Ensure_no_duplicate_group_names_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.19_Ensure_shadow_group_is_empty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.20_Ensure_all_users_home_directories_exist"
selected="true"/>
</xccdf:Profile>
|
| Level 1 - Workstation |
Items in this profile intend to:
This profile is intended for workstations. Show Profile XML
<xccdf:Profile xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sce="http://open-scap.org/page/SCE_xccdf_stream"
xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog"
xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
id="xccdf_org.cisecurity.benchmarks_profile_Level_1_-_Workstation">
<xccdf:title xml:lang="en">Level 1 - Workstation</xccdf:title>
<xccdf:description xml:lang="en">
<xhtml:p>Items in this profile intend to:</xhtml:p>
<xhtml:ul>
<xhtml:li>be practical and prudent;</xhtml:li>
<xhtml:li>provide a clear security benefit; and</xhtml:li>
<xhtml:li>not inhibit the utility of the technology beyond acceptable means.</xhtml:li>
</xhtml:ul>
<xhtml:p>This profile is intended for workstations.</xhtml:p>
</xccdf:description>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.1_Ensure_mounting_of_cramfs_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.3_Ensure_mounting_of_squashfs_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.4_Ensure_mounting_of_udf_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.2_Ensure_tmp_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.3_Ensure_nodev_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.4_Ensure_nosuid_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.5_Ensure_noexec_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.8_Ensure_nodev_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.9_Ensure_nosuid_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.10_Ensure_noexec_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.14_Ensure_nodev_option_set_on_home_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.15_Ensure_nodev_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.16_Ensure_nosuid_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.17_Ensure_noexec_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.18_Ensure_nodev_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.19_Ensure_nosuid_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.20_Ensure_noexec_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.21_Ensure_sticky_bit_is_set_on_all_world-writable_directories"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.1_Ensure_Red_Hat_Subscription_Manager_connection_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.2_Disable_the_rhnsd_Daemon"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.3_Ensure_GPG_keys_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.4_Ensure_gpgcheck_is_globally_activated"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.5_Ensure_package_manager_repositories_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.1_Ensure_sudo_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.2_Ensure_sudo_commands_use_pty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.3_Ensure_sudo_log_file_exists"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.4.1_Ensure_AIDE_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.4.2_Ensure_filesystem_integrity_is_regularly_checked"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.1_Ensure_permissions_on_bootloader_config_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.2_Ensure_bootloader_password_is_set"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.3_Ensure_authentication_required_for_single_user_mode"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.6.1_Ensure_core_dumps_are_restricted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.6.2_Ensure_address_space_layout_randomization_ASLR_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.1_Ensure_message_of_the_day_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.2_Ensure_local_login_warning_banner_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.3_Ensure_remote_login_warning_banner_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.4_Ensure_permissions_on_etcmotd_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.5_Ensure_permissions_on_etcissue_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.6_Ensure_permissions_on_etcissue.net_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.2_Ensure_GDM_login_banner_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.9_Ensure_updates_patches_and_additional_security_software_are_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.10_Ensure_system-wide_crypto_policy_is_not_legacy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.1.1_Ensure_xinetd_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.1.1_Ensure_time_synchronization_is_in_use"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.1.2_Ensure_chrony_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.3_Ensure_rsync_service_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.4_Ensure_Avahi_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.5_Ensure_SNMP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.6_Ensure_HTTP_Proxy_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.7_Ensure_Samba_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.8_Ensure_IMAP_and_POP3_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.9_Ensure_HTTP_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.10_Ensure_FTP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.11_Ensure_DNS_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.12_Ensure_NFS_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.13_Ensure__RPC_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.14_Ensure_LDAP_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.15_Ensure_DHCP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.17_Ensure_NIS_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.18_Ensure_mail_transfer_agent_is_configured_for_local-only_mode"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.1_Ensure_NIS_Client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.2_Ensure_telnet_client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.3_Ensure_LDAP_client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.1.1_Ensure_IP_forwarding_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.1.2_Ensure_packet_redirect_sending_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.1_Ensure_source_routed_packets_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.2_Ensure_ICMP_redirects_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.3_Ensure_secure_ICMP_redirects_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.4_Ensure_suspicious_packets_are_logged"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.5_Ensure_broadcast_ICMP_requests_are_ignored"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.6_Ensure_bogus_ICMP_responses_are_ignored"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.7_Ensure_Reverse_Path_Filtering_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.8_Ensure_TCP_SYN_Cookies_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.9_Ensure_IPv6_router_advertisements_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.1.1_Ensure_a_Firewall_package_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.1_Ensure_firewalld_service_is_enabled_and_running"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.2_Ensure_iptables_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.3_Ensure_nftables_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.4_Ensure_default_zone_is_set"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.5_Ensure_network_interfaces_are_assigned_to_appropriate_zone"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.6_Ensure_unnecessary_services_and_ports_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.1_Ensure_iptables_are_flushed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.2_Ensure_a_table_exists"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.3_Ensure_base_chains_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.4_Ensure_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.5_Ensure_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.6_Ensure_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.7_Ensure_nftables_service_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.8_Ensure_nftables_rules_are_permanent"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.1_Ensure_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.2_Ensure_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.3_Ensure_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.4_Ensure_firewall_rules_exist_for_all_open_ports"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.1_Ensure_IPv6_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.2_Ensure_IPv6_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.3_Ensure_IPv6_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.4_Ensure_IPv6_firewall_rules_exist_for_all_open_ports"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.1_Ensure_rsyslog_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.2_Ensure_rsyslog_Service_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.3_Ensure_rsyslog_default_file_permissions_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.4_Ensure_logging_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.5_Ensure_rsyslog_is_configured_to_send_logs_to_a_remote_log_host"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.6_Ensure_remote_rsyslog_messages_are_only_accepted_on_designated_log_hosts."
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.1_Ensure_journald_is_configured_to_send_logs_to_rsyslog"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.2_Ensure_journald_is_configured_to_compress_large_log_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.3_Ensure_journald_is_configured_to_write_logfiles_to_persistent_disk"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.3_Ensure_permissions_on_all_logfiles_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.3_Ensure_logrotate_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.1_Ensure_cron_daemon_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.2_Ensure_permissions_on_etccrontab_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.3_Ensure_permissions_on_etccron.hourly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.4_Ensure_permissions_on_etccron.daily_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.5_Ensure_permissions_on_etccron.weekly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.6_Ensure_permissions_on_etccron.monthly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.7_Ensure_permissions_on_etccron.d_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.8_Ensure_atcron_is_restricted_to_authorized_users"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.1_Ensure_permissions_on_etcsshsshd_config_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.2_Ensure_SSH_access_is_limited"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.3_Ensure_permissions_on_SSH_private_host_key_files_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.4_Ensure_permissions_on_SSH_public_host_key_files_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.5_Ensure_SSH_LogLevel_is_appropriate"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.6_Ensure_SSH_X11_forwarding_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.7_Ensure_SSH_MaxAuthTries_is_set_to_4_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.8_Ensure_SSH_IgnoreRhosts_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.9_Ensure_SSH_HostbasedAuthentication_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.10_Ensure_SSH_root_login_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.11_Ensure_SSH_PermitEmptyPasswords_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.12_Ensure_SSH_PermitUserEnvironment_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.13_Ensure_SSH_Idle_Timeout_Interval_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.14_Ensure_SSH_LoginGraceTime_is_set_to_one_minute_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.15_Ensure_SSH_warning_banner_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.16_Ensure_SSH_PAM_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.18_Ensure_SSH_MaxStartups_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.19_Ensure_SSH_MaxSessions_is_set_to_4_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.20_Ensure_system-wide_crypto_policy_is_not_over-ridden"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.1_Create_custom_authselect_profile"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.2_Select_authselect_profile"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.3_Ensure_authselect_includes_with-faillock"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.1_Ensure_password_creation_requirements_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.2_Ensure_lockout_for_failed_password_attempts_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.3_Ensure_password_reuse_is_limited"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.4_Ensure_password_hashing_algorithm_is_SHA-512"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.1_Ensure_password_expiration_is_365_days_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.2_Ensure_minimum_days_between_password_changes_is_7_or_more"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.3_Ensure_password_expiration_warning_days_is_7_or_more"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.4_Ensure_inactive_password_lock_is_30_days_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.5_Ensure_all_users_last_password_change_date_is_in_the_past"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.2_Ensure_system_accounts_are_secured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.3_Ensure_default_user_shell_timeout_is_900_seconds_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.4_Ensure_default_group_for_the_root_account_is_GID_0"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.5_Ensure_default_user_umask_is_027_or_more_restrictive"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.6_Ensure_root_login_is_restricted_to_system_console"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.7_Ensure_access_to_the_su_command_is_restricted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.2_Ensure_permissions_on_etcpasswd_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.3_Ensure_permissions_on_etcshadow_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.4_Ensure_permissions_on_etcgroup_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.5_Ensure_permissions_on_etcgshadow_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.6_Ensure_permissions_on_etcpasswd-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.7_Ensure_permissions_on_etcshadow-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.8_Ensure_permissions_on_etcgroup-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.9_Ensure_permissions_on_etcgshadow-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.10_Ensure_no_world_writable_files_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.11_Ensure_no_unowned_files_or_directories_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.12_Ensure_no_ungrouped_files_or_directories_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.13_Audit_SUID_executables"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.14_Audit_SGID_executables"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.1_Ensure_password_fields_are_not_empty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.2_Ensure_no_legacy__entries_exist_in_etcpasswd"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.3_Ensure_root_PATH_Integrity"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.4_Ensure_no_legacy__entries_exist_in_etcshadow"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.5_Ensure_no_legacy__entries_exist_in_etcgroup"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.6_Ensure_root_is_the_only_UID_0_account"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.7_Ensure_users_home_directories_permissions_are_750_or_more_restrictive"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.8_Ensure_users_own_their_home_directories"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.9_Ensure_users_dot_files_are_not_group_or_world_writable"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.10_Ensure_no_users_have_.forward_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.11_Ensure_no_users_have_.netrc_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.12_Ensure_users_.netrc_Files_are_not_group_or_world_accessible"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.13_Ensure_no_users_have_.rhosts_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.14_Ensure_all_groups_in_etcpasswd_exist_in_etcgroup"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.15_Ensure_no_duplicate_UIDs_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.16_Ensure_no_duplicate_GIDs_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.17_Ensure_no_duplicate_user_names_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.18_Ensure_no_duplicate_group_names_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.19_Ensure_shadow_group_is_empty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.20_Ensure_all_users_home_directories_exist"
selected="true"/>
</xccdf:Profile>
|
| Level 2 - Workstation |
This profile extends the "Level 1 - Workstation" profile. Items in this profile exhibit one or more of the following characteristics:
This profile is intended for workstations. Show Profile XML
<xccdf:Profile xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sce="http://open-scap.org/page/SCE_xccdf_stream"
xmlns:cat="urn:oasis:names:tc:entity:xmlns:xml:catalog"
xmlns:ds="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
id="xccdf_org.cisecurity.benchmarks_profile_Level_2_-_Workstation">
<xccdf:title xml:lang="en">Level 2 - Workstation</xccdf:title>
<xccdf:description xml:lang="en">
<xhtml:p>This profile extends the "Level 1 - Workstation" profile. Items in this profile exhibit one or more of the following characteristics:</xhtml:p>
<xhtml:ul>
<xhtml:li>are intended for environments or use cases where security is paramount.</xhtml:li>
<xhtml:li>acts as defense in depth measure.</xhtml:li>
<xhtml:li>may negatively inhibit the utility or performance of the technology.</xhtml:li>
</xhtml:ul>
<xhtml:p>This profile is intended for workstations.</xhtml:p>
</xccdf:description>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.1_Ensure_mounting_of_cramfs_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.2_Ensure_mounting_of_vFAT_filesystems_is_limited"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.3_Ensure_mounting_of_squashfs_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.4_Ensure_mounting_of_udf_filesystems_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.2_Ensure_tmp_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.3_Ensure_nodev_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.4_Ensure_nosuid_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.5_Ensure_noexec_option_set_on_tmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.6_Ensure_separate_partition_exists_for_var"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.7_Ensure_separate_partition_exists_for_vartmp"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.8_Ensure_nodev_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.9_Ensure_nosuid_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.10_Ensure_noexec_option_set_on_vartmp_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.11_Ensure_separate_partition_exists_for_varlog"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.12_Ensure_separate_partition_exists_for_varlogaudit"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.13_Ensure_separate_partition_exists_for_home"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.14_Ensure_nodev_option_set_on_home_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.15_Ensure_nodev_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.16_Ensure_nosuid_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.17_Ensure_noexec_option_set_on_devshm_partition"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.18_Ensure_nodev_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.19_Ensure_nosuid_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.20_Ensure_noexec_option_set_on_removable_media_partitions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.21_Ensure_sticky_bit_is_set_on_all_world-writable_directories"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.22_Disable_Automounting"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.1.23_Disable_USB_Storage"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.1_Ensure_Red_Hat_Subscription_Manager_connection_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.2_Disable_the_rhnsd_Daemon"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.3_Ensure_GPG_keys_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.4_Ensure_gpgcheck_is_globally_activated"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.2.5_Ensure_package_manager_repositories_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.1_Ensure_sudo_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.2_Ensure_sudo_commands_use_pty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.3.3_Ensure_sudo_log_file_exists"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.4.1_Ensure_AIDE_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.4.2_Ensure_filesystem_integrity_is_regularly_checked"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.1_Ensure_permissions_on_bootloader_config_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.2_Ensure_bootloader_password_is_set"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.5.3_Ensure_authentication_required_for_single_user_mode"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.6.1_Ensure_core_dumps_are_restricted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.6.2_Ensure_address_space_layout_randomization_ASLR_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.1_Ensure_SELinux_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.2_Ensure_SELinux_is_not_disabled_in_bootloader_configuration"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.3_Ensure_SELinux_policy_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.4_Ensure_the_SELinux_state_is_enforcing"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.5_Ensure_no_unconfined_services_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.7_Ensure_the_MCS_Translation_Service_mcstrans_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.1_Ensure_message_of_the_day_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.2_Ensure_local_login_warning_banner_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.3_Ensure_remote_login_warning_banner_is_configured_properly"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.4_Ensure_permissions_on_etcmotd_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.5_Ensure_permissions_on_etcissue_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.6_Ensure_permissions_on_etcissue.net_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.8.2_Ensure_GDM_login_banner_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.9_Ensure_updates_patches_and_additional_security_software_are_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.10_Ensure_system-wide_crypto_policy_is_not_legacy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_1.11_Ensure_system-wide_crypto_policy_is_FUTURE_or_FIPS"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.1.1_Ensure_xinetd_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.1.1_Ensure_time_synchronization_is_in_use"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.1.2_Ensure_chrony_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.3_Ensure_rsync_service_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.4_Ensure_Avahi_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.5_Ensure_SNMP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.6_Ensure_HTTP_Proxy_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.7_Ensure_Samba_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.8_Ensure_IMAP_and_POP3_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.9_Ensure_HTTP_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.10_Ensure_FTP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.11_Ensure_DNS_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.12_Ensure_NFS_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.13_Ensure__RPC_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.14_Ensure_LDAP_server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.15_Ensure_DHCP_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.16_Ensure_CUPS_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.17_Ensure_NIS_Server_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.2.18_Ensure_mail_transfer_agent_is_configured_for_local-only_mode"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.1_Ensure_NIS_Client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.2_Ensure_telnet_client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_2.3.3_Ensure_LDAP_client_is_not_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.1.1_Ensure_IP_forwarding_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.1.2_Ensure_packet_redirect_sending_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.1_Ensure_source_routed_packets_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.2_Ensure_ICMP_redirects_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.3_Ensure_secure_ICMP_redirects_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.4_Ensure_suspicious_packets_are_logged"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.5_Ensure_broadcast_ICMP_requests_are_ignored"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.6_Ensure_bogus_ICMP_responses_are_ignored"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.7_Ensure_Reverse_Path_Filtering_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.8_Ensure_TCP_SYN_Cookies_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.2.9_Ensure_IPv6_router_advertisements_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.3.1_Ensure_DCCP_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.3.2_Ensure_SCTP_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.3.3_Ensure_RDS_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.3.4_Ensure_TIPC_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.1.1_Ensure_a_Firewall_package_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.1_Ensure_firewalld_service_is_enabled_and_running"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.2_Ensure_iptables_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.3_Ensure_nftables_is_not_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.4_Ensure_default_zone_is_set"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.5_Ensure_network_interfaces_are_assigned_to_appropriate_zone"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.6_Ensure_unnecessary_services_and_ports_are_not_accepted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.1_Ensure_iptables_are_flushed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.2_Ensure_a_table_exists"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.3_Ensure_base_chains_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.4_Ensure_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.5_Ensure_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.6_Ensure_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.7_Ensure_nftables_service_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.8_Ensure_nftables_rules_are_permanent"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.1_Ensure_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.2_Ensure_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.3_Ensure_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.4_Ensure_firewall_rules_exist_for_all_open_ports"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.1_Ensure_IPv6_default_deny_firewall_policy"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.2_Ensure_IPv6_loopback_traffic_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.3_Ensure_IPv6_outbound_and_established_connections_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.4_Ensure_IPv6_firewall_rules_exist_for_all_open_ports"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.5_Ensure_wireless_interfaces_are_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_3.6_Disable_IPv6"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.1_Ensure_auditd_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.2_Ensure_auditd_service_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.3_Ensure_auditing_for_processes_that_start_prior_to_auditd_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.4_Ensure_audit_backlog_limit_is_sufficient"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.2.1_Ensure_audit_log_storage_size_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.2.2_Ensure_audit_logs_are_not_automatically_deleted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.2.3_Ensure_system_is_disabled_when_audit_logs_are_full"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.3_Ensure_changes_to_system_administration_scope_sudoers_is_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.4_Ensure_login_and_logout_events_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.5_Ensure_session_initiation_information_is_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.6_Ensure_events_that_modify_date_and_time_information_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.7_Ensure_events_that_modify_the_systems_Mandatory_Access_Controls_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.8_Ensure_events_that_modify_the_systems_network_environment_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.9_Ensure_discretionary_access_control_permission_modification_events_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.10_Ensure_unsuccessful_unauthorized_file_access_attempts_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.11_Ensure_events_that_modify_usergroup_information_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.12_Ensure_successful_file_system_mounts_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.13_Ensure_use_of_privileged_commands_is_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.14_Ensure_file_deletion_events_by_users_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.15_Ensure_kernel_module_loading_and_unloading_is_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.16_Ensure_system_administrator_actions_sudolog_are_collected"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.1.17_Ensure_the_audit_configuration_is_immutable"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.1_Ensure_rsyslog_is_installed"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.2_Ensure_rsyslog_Service_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.3_Ensure_rsyslog_default_file_permissions_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.4_Ensure_logging_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.5_Ensure_rsyslog_is_configured_to_send_logs_to_a_remote_log_host"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.6_Ensure_remote_rsyslog_messages_are_only_accepted_on_designated_log_hosts."
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.1_Ensure_journald_is_configured_to_send_logs_to_rsyslog"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.2_Ensure_journald_is_configured_to_compress_large_log_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.3_Ensure_journald_is_configured_to_write_logfiles_to_persistent_disk"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.2.3_Ensure_permissions_on_all_logfiles_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_4.3_Ensure_logrotate_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.1_Ensure_cron_daemon_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.2_Ensure_permissions_on_etccrontab_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.3_Ensure_permissions_on_etccron.hourly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.4_Ensure_permissions_on_etccron.daily_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.5_Ensure_permissions_on_etccron.weekly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.6_Ensure_permissions_on_etccron.monthly_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.7_Ensure_permissions_on_etccron.d_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.1.8_Ensure_atcron_is_restricted_to_authorized_users"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.1_Ensure_permissions_on_etcsshsshd_config_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.2_Ensure_SSH_access_is_limited"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.3_Ensure_permissions_on_SSH_private_host_key_files_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.4_Ensure_permissions_on_SSH_public_host_key_files_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.5_Ensure_SSH_LogLevel_is_appropriate"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.6_Ensure_SSH_X11_forwarding_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.7_Ensure_SSH_MaxAuthTries_is_set_to_4_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.8_Ensure_SSH_IgnoreRhosts_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.9_Ensure_SSH_HostbasedAuthentication_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.10_Ensure_SSH_root_login_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.11_Ensure_SSH_PermitEmptyPasswords_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.12_Ensure_SSH_PermitUserEnvironment_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.13_Ensure_SSH_Idle_Timeout_Interval_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.14_Ensure_SSH_LoginGraceTime_is_set_to_one_minute_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.15_Ensure_SSH_warning_banner_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.16_Ensure_SSH_PAM_is_enabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.17_Ensure_SSH_AllowTcpForwarding_is_disabled"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.18_Ensure_SSH_MaxStartups_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.19_Ensure_SSH_MaxSessions_is_set_to_4_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.2.20_Ensure_system-wide_crypto_policy_is_not_over-ridden"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.1_Create_custom_authselect_profile"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.2_Select_authselect_profile"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.3.3_Ensure_authselect_includes_with-faillock"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.1_Ensure_password_creation_requirements_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.2_Ensure_lockout_for_failed_password_attempts_is_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.3_Ensure_password_reuse_is_limited"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.4.4_Ensure_password_hashing_algorithm_is_SHA-512"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.1_Ensure_password_expiration_is_365_days_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.2_Ensure_minimum_days_between_password_changes_is_7_or_more"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.3_Ensure_password_expiration_warning_days_is_7_or_more"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.4_Ensure_inactive_password_lock_is_30_days_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.5_Ensure_all_users_last_password_change_date_is_in_the_past"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.2_Ensure_system_accounts_are_secured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.3_Ensure_default_user_shell_timeout_is_900_seconds_or_less"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.4_Ensure_default_group_for_the_root_account_is_GID_0"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.5.5_Ensure_default_user_umask_is_027_or_more_restrictive"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.6_Ensure_root_login_is_restricted_to_system_console"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_5.7_Ensure_access_to_the_su_command_is_restricted"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.1_Audit_system_file_permissions"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.2_Ensure_permissions_on_etcpasswd_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.3_Ensure_permissions_on_etcshadow_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.4_Ensure_permissions_on_etcgroup_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.5_Ensure_permissions_on_etcgshadow_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.6_Ensure_permissions_on_etcpasswd-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.7_Ensure_permissions_on_etcshadow-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.8_Ensure_permissions_on_etcgroup-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.9_Ensure_permissions_on_etcgshadow-_are_configured"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.10_Ensure_no_world_writable_files_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.11_Ensure_no_unowned_files_or_directories_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.12_Ensure_no_ungrouped_files_or_directories_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.13_Audit_SUID_executables"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.1.14_Audit_SGID_executables"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.1_Ensure_password_fields_are_not_empty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.2_Ensure_no_legacy__entries_exist_in_etcpasswd"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.3_Ensure_root_PATH_Integrity"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.4_Ensure_no_legacy__entries_exist_in_etcshadow"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.5_Ensure_no_legacy__entries_exist_in_etcgroup"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.6_Ensure_root_is_the_only_UID_0_account"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.7_Ensure_users_home_directories_permissions_are_750_or_more_restrictive"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.8_Ensure_users_own_their_home_directories"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.9_Ensure_users_dot_files_are_not_group_or_world_writable"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.10_Ensure_no_users_have_.forward_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.11_Ensure_no_users_have_.netrc_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.12_Ensure_users_.netrc_Files_are_not_group_or_world_accessible"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.13_Ensure_no_users_have_.rhosts_files"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.14_Ensure_all_groups_in_etcpasswd_exist_in_etcgroup"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.15_Ensure_no_duplicate_UIDs_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.16_Ensure_no_duplicate_GIDs_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.17_Ensure_no_duplicate_user_names_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.18_Ensure_no_duplicate_group_names_exist"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.19_Ensure_shadow_group_is_empty"
selected="true"/>
<xccdf:select idref="xccdf_org.cisecurity.benchmarks_rule_6.2.20_Ensure_all_users_home_directories_exist"
selected="true"/>
</xccdf:Profile>
|
Items in this section are advised for all systems, but may be difficult or require extensive preparation after the initial setup of the system.
Directories that are used for system-wide functions can be further protected by placing them on separate partitions. This provides protection for resource exhaustion and enables the use of mounting options that are applicable to the directory's intended use. Users' data can be stored on separate partitions and have stricter mount options. A user partition is a filesystem that has been established for use by the users and does not contain software for system operations.
The recommendations in this section are easier to perform during initial system installation. If the system is already installed, it is recommended that a full backup be performed before repartitioning the system.
Note: If you are repartitioning a system that has already been installed, make sure the data has been copied over to the new partition, unmount it and then remove the data from the directory that was in the old partition. Otherwise it will still consume space in the old partition that will be masked when the new filesystem is mounted. For example, if a system is in single-user mode with no filesystems mounted and the administrator adds a lot of data to the /tmp directory, this data will still consume space in / once the /tmp filesystem is mounted unless it is removed first.
A number of uncommon filesystem types are supported under Linux. Removing support for unneeded filesystem types reduces the local attack surface of the system. If a filesystem type is not needed it should be disabled. Native Linux file systems are designed to ensure that built-in security controls function as expected. Non-native filesystems can lead to unexpected consequences to both the security and functionality of the system and should be used with caution. Many filesystems are created for niche use cases and are not maintained and supported as the operating systems are updated and patched. Users of non-native filesystems should ensure that there is attention and ongoing support for them, especially in light of frequent operating system changes.
Standard network connectivity and Internet access to cloud storage may make the use of non-standard filesystem formats to directly attach heterogeneous devices much less attractive.
Note : This should not be considered a comprehensive list of filesystems. You may wish to consider additions to those listed here for your environment.
The cramfs filesystem type is a compressed read-only Linux filesystem embedded in small footprint systems. A cramfs image can be used without having to first decompress the image.
Removing support for unneeded filesystem types reduces the local attack surface of the server. If this filesystem type is not needed, disable it.
Edit or create a file in the /etc/modprobe.d/ directory ending in .conf
Example: vim /etc/modprobe.d/cramfs.conf
and add the following line:
install cramfs /bin/true
Run the following command to unload the cramfs module:
# rmmod cramfs
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.1_Ensure_mounting_of_cramfs_filesystems_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.133+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659432"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659432">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659432"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module cramfs is not loadable</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v cramfs</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659435"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659435">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659435"
check="none satisfy"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module cramfs is not loaded</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v cramfs</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The vFAT filesystem format is primarily used on older windows systems and portable USB drives or flash modules. It comes in three types FAT12 , FAT16 , and FAT32 all of which are supported by the vfat kernel module.
Removing support for unneeded filesystem types reduces the local attack surface of the system. If this filesystem type is not needed, disable it.
Edit or create a file in the /etc/modprobe.d/ directory ending in .conf Example: vim /etc/modprobe.d/vfat.conf
install vfat /bin/true
Run the following command to unload the vfat module:
# rmmod vfat
Impact:
The FAT filesystem format is used by UEFI systems for the EFI boot partition. Disabling the vfat module can prevent boot on UEFI systems.
FAT filesystems are often used on portable USB sticks and other flash media which are commonly used to transfer files between workstations, removing VFAT support may prevent the ability to transfer files in this way.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.2_Ensure_mounting_of_vFAT_filesystems_is_limited"
role="unscored"
severity="unknown"
time="2023-01-02T23:40:54.134+08:00"
version="1"
weight="0.0">
<xccdf:result>informational</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659465"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659465">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659465"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module vfat is not loadable</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v vfat</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>insmod /lib/modules/4.18.0-372.9.1.el8.x86_64/kernel/fs/fat/fat.ko.xz </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659469"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659469">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659469"
check="none satisfy"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module vfat is not loaded</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v vfat</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>insmod /lib/modules/4.18.0-372.9.1.el8.x86_64/kernel/fs/fat/fat.ko.xz </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The squashfs filesystem type is a compressed read-only Linux filesystem embedded in small footprint systems (similar to cramfs ). A squashfs image can be used without having to first decompress the image.
Removing support for unneeded filesystem types reduces the local attack surface of the system. If this filesystem type is not needed, disable it.
Edit or create a file in the /etc/modprobe.d/ directory ending in .conf
Example: vim /etc/modprobe.d/squashfs.conf
and add the following line:
install squashfs /bin/true
Run the following command to unload the squashfs module:
# rmmod squashfs
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.3_Ensure_mounting_of_squashfs_filesystems_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.134+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659444"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659444">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659444"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module squashfs is not loadable</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v squashfs</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659446"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659446">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659446"
check="none satisfy"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module squashfs is not loaded</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v squashfs</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The udf filesystem type is the universal disk format used to implement ISO/IEC 13346 and ECMA-167 specifications. This is an open vendor filesystem type for data storage on a broad range of media. This filesystem type is necessary to support writing DVDs and newer optical disc formats.
Removing support for unneeded filesystem types reduces the local attack surface of the system. If this filesystem type is not needed, disable it.
Edit or create a file in the /etc/modprobe.d/ directory ending in .conf
Example: vim /etc/modprobe.d/udf.conf
and add the following line:
install udf /bin/true
Run the following command to unload the udf module:
# rmmod udf
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.1.4_Ensure_mounting_of_udf_filesystems_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.134+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659452"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659452">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659452"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module udf is not loadable</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v udf</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>insmod /lib/modules/4.18.0-372.9.1.el8.x86_64/kernel/lib/crc-itu-t.ko.xz </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659456"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659456">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659456"
check="none satisfy"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module udf is not loaded</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v udf</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>insmod /lib/modules/4.18.0-372.9.1.el8.x86_64/kernel/lib/crc-itu-t.ko.xz </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The /tmp directory is a world-writable directory used for temporary storage by all users and some applications.
Making /tmp its own file system allows an administrator to set the noexec option on the mount, making /tmp useless for an attacker to install executable code. It would also prevent an attacker from establishing a hardlink to a system setuid program and wait for it to be updated. Once the program was updated, the hardlink would be broken and the attacker would have his own copy of the program. If the program happened to have a security vulnerability, the attacker could continue to exploit the known flaw.
This can be accomplished by either mounting tmpfs to /tmp, or creating a separate partition for /tmp.
Configure /etc/fstab as appropriate.
example:
tmpfs /tmp tmpfs defaults,rw,nosuid,nodev,noexec,relatime 0 0
OR
Run the following commands to enable systemd /tmp mounting:
# systemctl unmask tmp.mount
# systemctl enable tmp.mount
Edit /etc/systemd/system/local-fs.target.wants/tmp.mount to configure the /tmp mount:
[Mount]
What=tmpfs
Where=/tmp
Type=tmpfs
Options=mode=1777,strictatime,noexec,nodev,nosuid
Impact:
Since the /tmp directory is intended to be world-writable, there is a risk of resource exhaustion if it is not bound to a separate partition.
Running out of /tmp space is a problem regardless of what kind of filesystem lies under it, but in a default installation a disk-based /tmp will essentially have the whole disk available, as it only creates a single / partition. On the other hand, a RAM-based /tmp as with tmpfs will almost certainly be much smaller, which can lead to applications filling up the filesystem much more easily.
/tmp utilizing tmpfs can be resized using the size={size} parameter on the Options line on the tmp.mount file
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.2_Ensure_tmp_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.134+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">AJ Lewis, "LVM HOWTO", http://tldp.org/HOWTO/LVM-HOWTO/</xccdf:ident>
<xccdf:ident system="http://cce.mitre.org">https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems/</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659226"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659226">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659226"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /tmp and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/tmp</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-tmp</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>55b161ab-d7dc-4f79-bf04-fcbbab7e86db</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2649600</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>27017</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2622583</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | AJ Lewis, "LVM HOWTO", http://tldp.org/HOWTO/LVM-HOWTO/ |
| Published On: | |
| Last Modified On: | |
| CCE Information | |
|---|---|
| CCE-IDv5: | https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems/ |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.1 |
| Label: | Associate Active Ports, Services and Protocols to Asset Inventory |
| Description: | Associate active ports, services and protocols to the hardware assets in the asset inventory. |
The nodev mount option specifies that the filesystem cannot contain special devices.
Since the /tmp filesystem is not intended to support devices, set this option to ensure that users cannot attempt to create block or character special devices in /tmp .
Edit the /etc/fstab file and add nodev to the fourth field (mounting options) for the /tmp partition. See the fstab(5) manual page for more information.
Run the following command to remount /tmp :
# mount -o remount,nodev /tmp
OR
Edit /etc/systemd/system/local-fs.target.wants/tmp.mount to add nodev to the /tmp mount options:
[Mount]
Options=mode=1777,strictatime,noexec,nodev,nosuid
Run the following command to remount /tmp :
# mount -o remount,nodev /tmp
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.3_Ensure_nodev_option_set_on_tmp_partition"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.135+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659168"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659168">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659168"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /tmp may exists and all have at least one partition option equals 'nodev' (string)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/tmp</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-tmp</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>55b161ab-d7dc-4f79-bf04-fcbbab7e86db</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2649600</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>27017</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2622583</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The nosuid mount option specifies that the filesystem cannot contain setuid files.
Since the /tmp filesystem is only intended for temporary file storage, set this option to ensure that users cannot create setuid files in /tmp .
Edit the /etc/fstab file and add nosuid to the fourth field (mounting options) for the /tmp partition. See the fstab(5) manual page for more information.
Run the following command to remount /tmp :
# mount -o remount,nosuid /tmp
or
Edit /etc/systemd/system/local-fs.target.wants/tmp.mount to add nosuid to the /tmp mount options:
[Mount]
Options=mode=1777,strictatime,noexec,nodev,nosuid
Run the following command to remount /tmp :
# mount -o remount,nosuid /tmp
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.4_Ensure_nosuid_option_set_on_tmp_partition"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.135+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659172"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659172">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659172"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /tmp may exists and all have at least one partition option equals 'nosuid' (string)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/tmp</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-tmp</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>55b161ab-d7dc-4f79-bf04-fcbbab7e86db</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2649600</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>27017</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2622583</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The noexec mount option specifies that the filesystem cannot contain executable binaries.
Since the /tmp filesystem is only intended for temporary file storage, set this option to ensure that users cannot run executable binaries from /tmp .
Edit the /etc/fstab file and add noexec to the fourth field (mounting options) for the /tmp partition. See the fstab(5) manual page for more information.
Run the following command to remount /tmp :
# mount -o remount,noexec /tmp
or
Edit /etc/systemd/system/local-fs.target.wants/tmp.mount to add noexec to the /tmp mount options:
[Mount]
Options=mode=1777,strictatime,noexec,nodev,nosuid
Run the following command to remount /tmp :
# mount -o remount,noexec /tmp
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.5_Ensure_noexec_option_set_on_tmp_partition"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.135+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/2/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659176"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659176">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659176"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /tmp may exists{else}exists and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/tmp</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-tmp</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>55b161ab-d7dc-4f79-bf04-fcbbab7e86db</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2649600</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>27017</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2622583</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage (inventory, track, and correct) all software on the network so that only authorized software is installed and can execute, and that all unauthorized and unmanaged software is found and prevented from installation or execution. |
| Subcontrol: | 2.6 |
| Label: | Address unapproved software |
| Description: | Ensure that unauthorized software is either removed or the inventory is updated in a timely manner |
The /var directory is used by daemons and other system services to temporarily store dynamic data. Some directories created by these processes may be world-writable.
Since the /var directory may contain world-writable files and directories, there is a risk of resource exhaustion if it is not bound to a separate partition.
For new installations, during installation create a custom partition setup and specify a separate partition for /var .
For systems that were previously installed, create a new partition and configure /etc/fstab as appropriate.
Impact:
Resizing filesystems is a common activity in cloud-hosted servers. Separate filesystem partitions may prevent successful resizing, or may require the installation of additional tools solely for the purpose of resizing operations. The use of these additional tools may introduce their own security considerations.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.6_Ensure_separate_partition_exists_for_var"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.135+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">AJ Lewis, "LVM HOWTO", http://tldp.org/HOWTO/LVM-HOWTO/</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659180"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659180">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659180"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /var and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/var</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-var</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>810d46cd-ec0b-4b83-89c2-80146ea97b5a</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2651648</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>132309</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2519339</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | AJ Lewis, "LVM HOWTO", http://tldp.org/HOWTO/LVM-HOWTO/ |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The /var/tmp directory is a world-writable directory used for temporary storage by all users and some applications.
Since the /var/tmp directory is intended to be world-writable, there is a risk of resource exhaustion if it is not bound to a separate partition. In addition, making /var/tmp its own file system allows an administrator to set the noexec option on the mount, making /var/tmp useless for an attacker to install executable code. It would also prevent an attacker from establishing a hardlink to a system setuid program and wait for it to be updated. Once the program was updated, the hardlink would be broken and the attacker would have his own copy of the program. If the program happened to have a security vulnerability, the attacker could continue to exploit the known flaw.
For new installations, during installation create a custom partition setup and specify a separate partition for /var/tmp .
For systems that were previously installed, create a new partition and configure /etc/fstab as appropriate.
Impact:
Resizing filesystems is a common activity in cloud-hosted servers. Separate filesystem partitions may prevent successful resizing, or may require the installation of additional tools solely for the purpose of resizing operations. The use of these additional tools may introduce their own security considerations.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.7_Ensure_separate_partition_exists_for_vartmp"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.135+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659182"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659182">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659182"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /var/tmp and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/var/tmp</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-var_tmp</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>ba05614d-9093-42ff-baf4-53c318da599b</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2649600</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>26902</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2622698</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The nodev mount option specifies that the filesystem cannot contain special devices.
Since the /var/tmp filesystem is not intended to support devices, set this option to ensure that users cannot attempt to create block or character special devices in /var/tmp .
Edit the /etc/fstab file and add nodev to the fourth field (mounting options) for the /var/tmp partition. See the fstab(5) manual page for more information.
Run the following command to remount /var/tmp :
# mount -o remount,nodev /var/tmp
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.8_Ensure_nodev_option_set_on_vartmp_partition"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.135+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659184"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659184">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659184"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /var/tmp may exists{else}exists and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/var/tmp</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-var_tmp</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>ba05614d-9093-42ff-baf4-53c318da599b</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2649600</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>26902</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2622698</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The nosuid mount option specifies that the filesystem cannot contain setuid files.
Since the /var/tmp filesystem is only intended for temporary file storage, set this option to ensure that users cannot create setuid files in /var/tmp .
Edit the /etc/fstab file and add nosuid to the fourth field (mounting options) for the /var/tmp partition. See the fstab(5) manual page for more information.
Run the following command to remount /var/tmp :
# mount -o remount,nosuid /var/tmp
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.9_Ensure_nosuid_option_set_on_vartmp_partition"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.136+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659188"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659188">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659188"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /var/tmp may exists{else}exists and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/var/tmp</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-var_tmp</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>ba05614d-9093-42ff-baf4-53c318da599b</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2649600</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>26902</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2622698</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The noexec mount option specifies that the filesystem cannot contain executable binaries.
Since the /var/tmp filesystem is only intended for temporary file storage, set this option to ensure that users cannot run executable binaries from /var/tmp .
Edit the /etc/fstab file and add noexec to the fourth field (mounting options) for the /var/tmp partition. See the fstab(5) manual page for more information.
Run the following command to remount /var/tmp :
# mount -o remount,noexec /var/tmp
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.10_Ensure_noexec_option_set_on_vartmp_partition"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.136+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/2/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659191"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659191">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659191"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /var/tmp may exists{else}exists and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/var/tmp</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-var_tmp</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>ba05614d-9093-42ff-baf4-53c318da599b</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2649600</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>26902</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2622698</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage (inventory, track, and correct) all software on the network so that only authorized software is installed and can execute, and that all unauthorized and unmanaged software is found and prevented from installation or execution. |
| Subcontrol: | 2.6 |
| Label: | Address unapproved software |
| Description: | Ensure that unauthorized software is either removed or the inventory is updated in a timely manner |
The /var/log directory is used by system services to store log data .
There are two important reasons to ensure that system logs are stored on a separate partition: protection against resource exhaustion (since logs can grow quite large) and protection of audit data.
For new installations, during installation create a custom partition setup and specify a separate partition for /var/log .
For systems that were previously installed, create a new partition and configure /etc/fstab as appropriate.
Impact:
Resizing filesystems is a common activity in cloud-hosted servers. Separate filesystem partitions may prevent successful resizing, or may require the installation of additional tools solely for the purpose of resizing operations. The use of these additional tools may introduce their own security considerations.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.11_Ensure_separate_partition_exists_for_varlog"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.136+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">AJ Lewis, "LVM HOWTO", http://tldp.org/HOWTO/LVM-HOWTO/</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659193"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659193">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659193"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /var/log and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-var_log</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>81e4a548-9655-473a-b159-e3c49f0999a5</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2651648</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>39295</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2612353</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | AJ Lewis, "LVM HOWTO", http://tldp.org/HOWTO/LVM-HOWTO/ |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.4 |
| Label: | Ensure adequate storage for logs |
| Description: | Ensure that all systems that store logs have adequate storage space for the logs generated. |
The auditing daemon, auditd , stores log data in the /var/log/audit directory.
There are two important reasons to ensure that data gathered by auditd is stored on a separate partition: protection against resource exhaustion (since the audit.log file can grow quite large) and protection of audit data. The audit daemon calculates how much free space is left and performs actions based on the results. If other processes (such as syslog ) consume space in the same partition as auditd , it may not perform as desired.
For new installations, during installation create a custom partition setup and specify a separate partition for /var/log/audit .
For systems that were previously installed, create a new partition and configure /etc/fstab as appropriate.
Impact:
Resizing filesystems is a common activity in cloud-hosted servers. Separate filesystem partitions may prevent successful resizing, or may require the installation of additional tools solely for the purpose of resizing operations. The use of these additional tools may introduce their own security considerations.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.12_Ensure_separate_partition_exists_for_varlogaudit"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.136+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">AJ Lewis, "LVM HOWTO", http://tldp.org/HOWTO/LVM-HOWTO/</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659196"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659196">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659196"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /var/log/audit and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-var_log_audit</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>7395bba7-7666-4ccf-8691-a943b42b612b</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2649600</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>39543</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2610057</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | AJ Lewis, "LVM HOWTO", http://tldp.org/HOWTO/LVM-HOWTO/ |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.4 |
| Label: | Ensure adequate storage for logs |
| Description: | Ensure that all systems that store logs have adequate storage space for the logs generated. |
The /home directory is used to support disk storage needs of local users.
If the system is intended to support local users, create a separate partition for the /home directory to protect against resource exhaustion and restrict the type of files that can be stored under /home .
For new installations, during installation create a custom partition setup and specify a separate partition for /home .
For systems that were previously installed, create a new partition and configure /etc/fstab as appropriate.
Impact:
Resizing filesystems is a common activity in cloud-hosted servers. Separate filesystem partitions may prevent successful resizing, or may require the installation of additional tools solely for the purpose of resizing operations. The use of these additional tools may introduce their own security considerations.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.13_Ensure_separate_partition_exists_for_home"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.137+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">AJ Lewis, "LVM HOWTO", http://tldp.org/HOWTO/LVM-HOWTO/</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659200"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659200">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659200"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /home and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/home</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-home</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>d1aba2f8-5ba1-4729-b0d1-7c7cf4e17d25</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr>
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2654720</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>172245</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2482475</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | AJ Lewis, "LVM HOWTO", http://tldp.org/HOWTO/LVM-HOWTO/ |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The nodev mount option specifies that the filesystem cannot contain special devices.
Since the user partitions are not intended to support devices, set this option to ensure that users cannot attempt to create block or character special devices.
Edit the /etc/fstab file and add nodev to the fourth field (mounting options) for the /home partition. See the fstab(5) manual page for more information.
# mount -o remount,nodev /home
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.14_Ensure_nodev_option_set_on_home_partition"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.137+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659203"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659203">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659203"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /home may exists{else}exists and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/home</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>/dev/mapper/rhel-home</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Exists</td>
<td>d1aba2f8-5ba1-4729-b0d1-7c7cf4e17d25</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>xfs</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>attr2</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>inode64</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbufs=8</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>logbsize=64k</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>sunit=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>swidth=128</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noquota</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>2654720</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>172245</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>2482475</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The nodev mount option specifies that the filesystem cannot contain special devices.
Since the /dev/shm filesystem is not intended to support devices, set this option to ensure that users cannot attempt to create special devices in /dev/shm partitions.
Edit the /etc/fstab file and add nodev to the fourth field (mounting options) for the /dev/shm partition. See the fstab(5) manual page for more information.
Run the following command to remount /dev/shm :
# mount -o remount,nodev /dev/shm
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.15_Ensure_nodev_option_set_on_devshm_partition"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.137+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659207"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659207">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659207"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /dev/shm may exists{else}exists and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/dev/shm</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>tmpfs</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>tmpfs</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>474185</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>474185</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The nosuid mount option specifies that the filesystem cannot contain setuid files.
Setting this option on a file system prevents users from introducing privileged programs onto the system and allowing non-root users to execute them.
Edit the /etc/fstab file and add nosuid to the fourth field (mounting options) for the /dev/shm partition. See the fstab(5) manual page for more information.
Run the following command to remount /dev/shm :
# mount -o remount,nosuid /dev/shm
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.16_Ensure_nosuid_option_set_on_devshm_partition"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.137+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659211"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659211">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659211"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /dev/shm may exists{else}exists and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/dev/shm</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>tmpfs</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>tmpfs</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>474185</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>474185</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The noexec mount option specifies that the filesystem cannot contain executable binaries.
Setting this option on a file system prevents users from executing programs from shared memory. This deters users from introducing potentially malicious software on the system.
Edit the /etc/fstab file and add noexec to the fourth field (mounting options) for the /dev/shm partition. See the fstab(5) manual page for more information.
Run the following command to remount /dev/shm :
# mount -o remount,noexec /dev/shm
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.17_Ensure_noexec_option_set_on_devshm_partition"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.137+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/2/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659214"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659214">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659214"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure partition at /dev/shm may exists{else}exists and all</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Partition Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Mount Point</td>
<td>String</td>
<td>Exists</td>
<td>/dev/shm</td>
</tr>
<tr>
<td>Device</td>
<td>String</td>
<td>Exists</td>
<td>tmpfs</td>
</tr>
<tr>
<td>Uuid</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Fs Type</td>
<td>String</td>
<td>Exists</td>
<td>tmpfs</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>rw</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nosuid</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>nodev</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>noexec</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>relatime</td>
</tr>
<tr class="evaluated">
<td>Mount Options</td>
<td>String</td>
<td>Exists</td>
<td>seclabel</td>
</tr>
<tr>
<td>Total Space</td>
<td>Int</td>
<td>Exists</td>
<td>474185</td>
</tr>
<tr>
<td>Space Used</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Space Left</td>
<td>Int</td>
<td>Exists</td>
<td>474185</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage (inventory, track, and correct) all software on the network so that only authorized software is installed and can execute, and that all unauthorized and unmanaged software is found and prevented from installation or execution. |
| Subcontrol: | 2.6 |
| Label: | Address unapproved software |
| Description: | Ensure that unauthorized software is either removed or the inventory is updated in a timely manner |
Setting the sticky bit on world writable directories prevents users from deleting or renaming files in that directory that are not owned by them.
This feature prevents the ability to delete or rename files in world writable directories (such as /tmp ) that are owned by another user.
Run the following command to set the sticky bit on all world writable directories:
# df --local -P | awk '{if (NR!=1) print $6}' | xargs -I '{}' find '{}' -xdev -type
d \( -perm -0002 -a ! -perm -1000 \) 2>/dev/null | xargs -I '{}' chmod a+t '{}'
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.21_Ensure_sticky_bit_is_set_on_all_world-writable_directories"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.138+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/world_writable_dirs_sticky.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/world_writable_dirs_sticky.sh"
href="sce/world_writable_dirs_sticky.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/world_writable_dirs_sticky.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
autofs allows automatic mounting of devices, typically including CD/DVDs and USB drives.
With automounting enabled anyone with physical access could attach a USB drive or disc and have its contents available in system even if they lacked permissions to mount it themselves.
Run the following command to disable autofs :
# systemctl --now disable autofs
Impact:
The use of portable hard drives is very common for workstation users. If your organization allows the use of portable storage or media on workstations and physical access controls to workstations is considered adequate there is little value add in turning off automounting.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.22_Disable_Automounting"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.138+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/8/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/8/subcontrol/5"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659224"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659224">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659224"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'autofs' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>autofs</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>masked</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Control the installation, spread, and execution of malicious code at multiple points in the enterprise, while optimizing the use of automation to enable rapid updating of defense, data gathering, and corrective action. |
| Subcontrol: | 8.4 |
| Label: | Configure Anti-Malware Scanning of Removable Devices |
| Description: | Configure devices so that they automatically conduct an anti-malware scan of removable media when inserted or connected. |
| CIS Control Information | |
|---|---|
| Control: | Control the installation, spread, and execution of malicious code at multiple points in the enterprise, while optimizing the use of automation to enable rapid updating of defense, data gathering, and corrective action. |
| Subcontrol: | 8.5 |
| Label: | Configure Devices Not To Auto-Run Content |
| Description: | Configure devices to not auto-run content from removable media. |
USB storage provides a means to transfer and store files insuring persistence and availability of the files independent of network connection status. Its popularity and utility has led to USB-based malware being a simple and common means for network infiltration and a first step to establishing a persistent threat within a networked environment.
Restricting USB access on the system will decrease the physical attack surface for a device and diminish the possible vectors to introduce malware.
Edit or create a file in the /etc/modprobe.d/ directory ending in .conf
Example: vim /etc/modprobe.d/usb-storage.conf and add the following line:
install usb-storage /bin/true
Run the following command to unload the usb-storage module:
rmmod usb-storage
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.1.23_Disable_USB_Storage"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.138+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/8/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/8/subcontrol/5"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689827"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689827">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689827"
check="none satisfy"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module usb-storage is not loaded</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v usb-storage</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689828"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689828">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689828"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module usb-storage is not loadable</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v usb-storage</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Control the installation, spread, and execution of malicious code at multiple points in the enterprise, while optimizing the use of automation to enable rapid updating of defense, data gathering, and corrective action. |
| Subcontrol: | 8.4 |
| Label: | Configure Anti-Malware Scanning of Removable Devices |
| Description: | Configure devices so that they automatically conduct an anti-malware scan of removable media when inserted or connected. |
| CIS Control Information | |
|---|---|
| Control: | Control the installation, spread, and execution of malicious code at multiple points in the enterprise, while optimizing the use of automation to enable rapid updating of defense, data gathering, and corrective action. |
| Subcontrol: | 8.5 |
| Label: | Configure Devices Not To Auto-Run Content |
| Description: | Configure devices to not auto-run content from removable media. |
Red Hat 8 uses dnf (previously yum) to install and update software packages. Patch management procedures may vary widely between enterprises. Large enterprises may choose to install a local updates server that can be used in place of their distributions servers, whereas a single deployment of a system may prefer to get updates directly. Updates can be performed automatically or manually, depending on the site's policy for patch management. Many large enterprises prefer to test patches on a non-production system before rolling out to production.
For the purpose of this benchmark, the requirement is to ensure that a patch management system is configured and maintained. The specifics on patch update procedures are left to the organization.
The rhnsd daemon polls the Red Hat Network web site for scheduled actions and, if there are, executes those actions.
Patch management policies may require that organizations test the impact of a patch before it is deployed in a production environment. Having patches automatically deployed could have a negative impact on the environment. It is best to not allow an action by default but only after appropriate consideration has been made. It is recommended that the service be disabled unless the risk is understood and accepted or you are running your own satellite . This item is not scored because organizations may have addressed the risk.
Run the following command to disable rhnsd :
# systemctl --now disable rhnsd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.2.2_Disable_the_rhnsd_Daemon"
role="unscored"
severity="unknown"
time="2023-01-02T23:40:54.138+08:00"
version="1"
weight="0.0">
<xccdf:result>informational</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689829"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689829">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689829"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'rhnsd' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>rhnsd</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The gpgcheck option, found in the main section of the /etc/yum.conf and individual /etc/yum/repos.d/* files determines if an RPM package's signature is checked prior to its installation.
It is important to ensure that an RPM's package signature is always checked prior to installation to ensure that the software is obtained from a trusted source.
Edit /etc/yum.conf and set ' gpgcheck=1 ' in the [main] section.
Edit any failing files in /etc/yum.repos.d/* and set all instances of gpgcheck to ' 1 '.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.2.4_Ensure_gpgcheck_is_globally_activated"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.138+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/3/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659186"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659186">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659186"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named .* in /etc/yum.repos.d/ exists and matches pattern ^\s*gpgcheck\s*=\s*[^1]\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659187"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659187">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659187"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/yum.conf exists and matches pattern ^\s*gpgcheck\s*=\s*1\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/dnf/dnf.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/dnf</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>dnf.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*gpgcheck\s*=\s*1\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>gpgcheck=1</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>gpgcheck=1</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659190"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659190">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659190"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/yum.conf exists and matches pattern ^\s*gpgcheck\s*=\s*[^1]\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Continuously acquire, assess, and take action on new information in order to identify vulnerabilities, remediate, and minimize the window of opportunity for attackers. |
| Subcontrol: | 3.4 |
| Label: | Deploy Automated Operating System Patch Management Tools |
| Description: | Deploy automated software update tools in order to ensure that the operating systems are running the most recent security updates provided by the software vendor. |
sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy. The invoking user's real (not effective) user ID is used to determine the user name with which to query the security policy.
sudo supports a plugin architecture for security policies and input/output logging. Third parties can develop and distribute their own policy and I/O logging plugins to work seamlessly with the sudo front end. The default security policy is sudoers, which is configured via the file /etc/sudoers.
sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy. The invoking user's real (not effective) user ID is used to determine the user name with which to query the security policy.
sudo supports a plugin architecture for security policies and input/output logging. Third parties can develop and distribute their own policy and I/O logging plugins to work seamlessly with the sudo front end. The default security policy is sudoers, which is configured via the file /etc/sudoers.
The security policy determines what privileges, if any, a user has to run sudo. The policy may require that users authenticate themselves with a password or another authentication mechanism. If authentication is required, sudo will exit if the user's password is not entered within a configurable time limit. This limit is policy-specific.
Run the following command to install sudo
# dnf install sudo
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.3.1_Ensure_sudo_is_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.138+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">SUDO(8)</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659238"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659238">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659238"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'sudo' is installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>sudo</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>8.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>1.8.29</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:1.8.29-8.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>sudo-0:1.8.29-8.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | SUDO(8) |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.3 |
| Label: | Ensure the Use of Dedicated Administrative Accounts |
| Description: | Ensure that all users with administrative account access use a dedicated or secondary account for elevated activities. This account should only be used for administrative activities and not internet browsing, email, or similar activities. |
sudo can be configured to run only from a psuedo-pty
Attackers can run a malicious program using sudo which would fork a background process that remains even when the main program has finished executing.
edit the file /etc/sudoers or a file in /etc/sudoers.d/ with visudo -f and add the following line:
Defaults use_pty
Impact:
editing the sudo configuration incorrectly can cause sudo to stop functioning.
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.3.2_Ensure_sudo_commands_use_pty"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.139+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">SUDO(8)</xccdf:ident>
<xccdf:ident system="http://cce.mitre.org">VISUDO(8)</xccdf:ident>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659242"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659242">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659242"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/sudoers exists and matches pattern ^(?i)\s*Defaults\s+([^#]+,\s*)?use_pty(,\s+\S+\s*)*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sudoers</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sudoers</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^(?i)\s*Defaults\s+([^#]+,\s*)?use_pty(,\s+\S+\s*)*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>Defaults use_pty</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>Defaults use_pty</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659245"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659245">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659245"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/sudoers.d/* exists and matches pattern ^(?i)\s*Defaults\s+([^#]+,\s*)?use_pty(,\s+\S+\s*)*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | SUDO(8) |
| Published On: | |
| Last Modified On: | |
| CCE Information | |
|---|---|
| CCE-IDv5: | VISUDO(8) |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
sudo can use a custom log file
A sudo log file simplifies auditing of sudo commands
edit the file /etc/sudoers or a file in /etc/sudoers.d/ with visudo -f and add the following line:
Defaults logfile="<PATH TO CUSTOM LOG FILE>"
**Example
Defaults logfile="/var/log/sudo.log"
Impact:
editing the sudo configuration incorrectly can cause sudo to stop functioning
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.3.3_Ensure_sudo_log_file_exists"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.139+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">SUDO(8)</xccdf:ident>
<xccdf:ident system="http://cce.mitre.org">VISUDO(8)</xccdf:ident>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659249"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659249">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659249"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/sudoers exists and matches pattern ^(?i)\s*Defaults\s+([^#]+,\s*)?logfile="\S+"(,\s+\S+\s*)*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659252"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659252">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659252"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure any file(s) named ^.+$ in /etc/sudoers.d/ exists and matches pattern ^(?i)\s*Defaults\s+([^#]+,\s*)?logfile="\S+"(,\s+\S+\s*)*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | SUDO(8) |
| Published On: | |
| Last Modified On: | |
| CCE Information | |
|---|---|
| CCE-IDv5: | VISUDO(8) |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
AIDE is a file integrity checking tool, similar in nature to Tripwire. While it cannot prevent intrusions, it can detect unauthorized changes to configuration files by alerting when the files are changed. When setting up AIDE, decide internally what the site policy will be concerning integrity checking. Review the AIDE quick start guide and AIDE documentation before proceeding.
AIDE takes a snapshot of filesystem state including modification times, permissions, and file hashes which can then be used to compare against the current state of the filesystem to detect modifications to the system.
By monitoring the filesystem state compromised files can be detected to prevent or limit the exposure of accidental or malicious misconfigurations or modified binaries.
Run the following command to install AIDE:
# dnf install aide
Configure AIDE as appropriate for your environment. Consult the AIDE documentation for options.
Initialize AIDE:
Run the following commands:
# aide --init
# mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.4.1_Ensure_AIDE_is_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.139+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/9"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">AIDE stable manual: http://aide.sourceforge.net/stable/manual.html</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:677482"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:677482">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:677482"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'aide' is installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>aide</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>14.el8_5.1</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.16</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:0.16-14.el8_5.1</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>aide-0:0.16-14.el8_5.1.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | AIDE stable manual: http://aide.sourceforge.net/stable/manual.html |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.9 |
| Label: | Enforce Detail Logging for Access or Changes to Sensitive Data |
| Description: | Enforce detailed audit logging for access to sensitive data or changes to sensitive data (utilizing tools such as File Integrity Monitoring or Security Information and Event Monitoring). |
Periodic checking of the filesystem integrity is needed to detect changes to the filesystem.
Periodic file checking allows the system administrator to determine on a regular basis if critical files have been changed in an unauthorized fashion.
Run the following commands:
# cp ./config/aidecheck.service /etc/systemd/system/aidecheck.service
# cp ./config/aidecheck.timer /etc/systemd/system/aidecheck.timer
# chmod 0644 /etc/systemd/system/aidecheck.*
# systemctl reenable aidecheck.timer
# systemctl restart aidecheck.timer
# systemctl daemon-reload
ORRun the following command:
# crontab -u root -e
Add the following line to the crontab:
0 5 * * * /usr/sbin/aide --check
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.4.2_Ensure_filesystem_integrity_is_regularly_checked"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.140+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/9"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">https://github.com/konstruktoid/hardening/blob/master/config/aidecheck.service</xccdf:ident>
<xccdf:ident system="http://cce.mitre.org">https://github.com/konstruktoid/hardening/blob/master/config/aidecheck.timer</xccdf:ident>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659198"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659198">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659198"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /var/spool/cron/root exists and matches pattern ^([-0-9*\/,A-Za-z]+\s+){5}\/usr\/sbin\/aide\s+--check\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/spool/cron/root</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/spool/cron</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>root</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^([-0-9*\/,A-Za-z]+\s+){5}\/usr\/sbin\/aide\s+--check\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>5 4 * * 0 /usr/sbin/aide --check
</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>5 4 * * 0 /usr/sbin/aide --check
</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>0 </td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659202"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659202">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659202"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/crontab exists and matches pattern ^([-0-9*\/,A-Za-z]+\s+){5}(\S+\s+(-[a-z]+\s+)?)?\/usr\/sbin\/aide\s+--check\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/crontab</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>crontab</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^([-0-9*\/,A-Za-z]+\s+){5}(\S+\s+(-[a-z]+\s+)?)?\/usr\/sbin\/aide\s+--check\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>05 4 * * * root /usr/sbin/aide --check
</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>05 4 * * * root /usr/sbin/aide --check
</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>* </td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>root </td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659204"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659204">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659204"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file(s) named .* in /etc/cron.d exists and matches pattern ^([-0-9*\/,A-Za-z]+\s+){5}(\S+\s+(-[a-z]+\s+)?)?\/usr\/sbin\/aide\s+--check\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659208"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659208">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659208"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file(s) named .* in /etc/cron.hourly exists and matches pattern ^\s*/usr/sbin/aide --check</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659210"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659210">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659210"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file(s) named .* in /etc/cron.daily exists and matches pattern ^\s*/usr/sbin/aide --check</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659213"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659213">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659213"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file(s) named .* in /etc/cron.weekly exists and matches pattern ^\s*/usr/sbin/aide --check</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659216"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659216">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659216"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file(s) named .* in /etc/cron.monthly exists and matches pattern ^\s*/usr/sbin/aide --check</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659218"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659218">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659218"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'aidecheck.service' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>aidecheck.service.service</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659222"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659222">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659222"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'aidecheck.timer' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>aidecheck.timer.service</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | https://github.com/konstruktoid/hardening/blob/master/config/aidecheck.service |
| Published On: | |
| Last Modified On: | |
| CCE Information | |
|---|---|
| CCE-IDv5: | https://github.com/konstruktoid/hardening/blob/master/config/aidecheck.timer |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.9 |
| Label: | Enforce Detail Logging for Access or Changes to Sensitive Data |
| Description: | Enforce detailed audit logging for access to sensitive data or changes to sensitive data (utilizing tools such as File Integrity Monitoring or Security Information and Event Monitoring). |
The recommendations in this section focus on securing the bootloader and settings involved in the boot process directly.
The grub configuration file contains information on boot settings and passwords for unlocking boot options.
The grub configuration is usually grub.cfg and grubenv stored in /boot/grub2/`
Setting the permissions to read and write for root only prevents non-root users from seeing the boot parameters or changing them. Non-root users who read the boot parameters may be able to identify weaknesses in security upon boot and be able to exploit them.
Run the following commands to set permissions on your grub configuration:
# chown root:root /boot/grub2/grub.cfg
# chmod og-rwx /boot/grub2/grub.cfg
# chown root:root /boot/grub2/grubenv
# chmod og-rwx /boot/grub2/grubenv
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.5.1_Ensure_permissions_on_bootloader_config_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.140+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659217"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659217">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659217"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /boot/grub2/grub.cfg exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/boot/grub2/grub.cfg</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/boot/grub2</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>grub.cfg</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940937</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869693</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>6441</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659221"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659221">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659221"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /boot/grub2/grubenv exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/boot/grub2/grubenv</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/boot/grub2</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>grubenv</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673752</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673752</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673752</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1024</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Setting the boot loader password will require that anyone rebooting the system must enter a password before being able to set command line boot parameters
Requiring a boot password upon execution of the boot loader will prevent an unauthorized user from entering boot parameters or changing the boot partition. This prevents users from weakening security (e.g. turning off SELinux at boot time).
Create an encrypted password with grub2-setpassword :
# grub2-setpassword
Enter password: <password>
Confirm password: <password>
Run the following command to update the grub2 configuration:
# grub2-mkconfig -o /boot/grub2/grub.cfg
Impact:
If password protection is enabled, only the designated superuser can edit a Grub 2 menu item by pressing "e" or access the GRUB 2 command line by pressing "c"
If GRUB 2 is set up to boot automatically to a password-protected menu entry the user has no option to back out of the password prompt to select another menu entry. Holding the SHIFT key will not display the menu in this case. The user must enter the correct username and password. If unable, the configuration files will have to be edited via the LiveCD or other means to fix the problem
You can add --unrestricted to the menu entries to allow the system to boot without entering a password. Password will still be required to edit menu items.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.5.2_Ensure_bootloader_password_is_set"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.140+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659225"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659225">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659225"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /boot/grub2/user.cfg exists and matches pattern ^\s*GRUB2_PASSWORD\s*=\s*.+$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/boot/grub2/user.cfg</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/boot/grub2</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>user.cfg</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Single user mode (rescue mode) is used for recovery when the system detects an issue during boot or by manual selection from the bootloader.
Requiring authentication in single user mode (rescue mode) prevents an unauthorized user from rebooting the system into single user to gain root privileges without credentials.
Edit /usr/lib/systemd/system/rescue.service and add/modify the following line:
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue
Edit /usr/lib/systemd/system/emergency.service and add/modify the following line:
ExecStart=-/usr/lib/systemd/systemd-sulogin-shell emergency
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.5.3_Ensure_authentication_required_for_single_user_mode"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.140+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659230"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659230">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659230"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /usr/lib/systemd/system/emergency.service exists and matches pattern ^\s*ExecStart=-/usr/lib/systemd/systemd-sulogin-shell(\s+emergency|\s*)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/usr/lib/systemd/system/emergency.service</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/usr/lib/systemd/system</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>emergency.service</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*ExecStart=-/usr/lib/systemd/systemd-sulogin-shell(\s+emergency|\s*)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>ExecStart=-/usr/lib/systemd/systemd-sulogin-shell emergency</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>ExecStart=-/usr/lib/systemd/systemd-sulogin-shell emergency</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td> emergency</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659231"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659231">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659231"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /usr/lib/systemd/system/rescue.service exists and matches pattern ^\s*ExecStart=-/usr/lib/systemd/systemd-sulogin-shell(\s+rescue\s*|\s*)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/usr/lib/systemd/system/rescue.service</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/usr/lib/systemd/system</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>rescue.service</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*ExecStart=-/usr/lib/systemd/systemd-sulogin-shell(\s+rescue\s*|\s*)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>ExecStart=-/usr/lib/systemd/systemd-sulogin-shell rescue</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td> rescue</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
A core dump is the memory of an executable program. It is generally used to determine why a program aborted. It can also be used to glean confidential information from a core file. The system provides the ability to set a soft limit for core dumps, but this can be overridden by the user.
Setting a hard limit on core dumps prevents users from overriding the soft variable. If core dumps are required, consider setting limits for user groups (see limits.conf(5) ). In addition, setting the fs.suid_dumpable variable to 0 will prevent setuid programs from dumping core.
Add the following line to /etc/security/limits.conf or a /etc/security/limits.d/* file:
* hard core 0
Set the following parameter in /etc/sysctl.conf or a /etc/sysctl.d/* file:
fs.suid_dumpable = 0
Run the following command to set the active kernel parameter:
# sysctl -w fs.suid_dumpable=0
If systemd-coredump is installed:
edit /etc/systemd/coredump.conf and add/modify the following lines:
Storage=none
ProcessSizeMax=0
Run the command:
systemctl daemon-reload
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.6.1_Ensure_core_dumps_are_restricted"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.140+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659227"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659227">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659227"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/security/limits.conf exists and matches pattern ^\s*\*\s+hard\s+core\s+0\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/security/limits.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/security</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>limits.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*\*\s+hard\s+core\s+0\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>* hard core 0
</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>* hard core 0
</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659229"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659229">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659229"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file(s) named .* in /etc/security/limits.d exists and matches pattern ^\s*\*\s+hard\s+core\s+0\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659232_var"/>
<xccdf:check-content-ref href="sce/sysctl_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sysctl_running_config.sh"
href="sce/sysctl_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>sysctl parameter is: fs.suid_dumpable = 0</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sysctl_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>sysctl parameter is: fs.suid_dumpable = 0</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689830"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689830">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689830"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/sysctl.conf exists and matches pattern ^\s*fs\.suid_dumpable\s*=\s*0\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*fs\.suid_dumpable\s*=\s*0\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>fs.suid_dumpable=0
# Per CCE-80916-0: Set kernel.randomize_va_space = 2 in /etc/sysctl.conf</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>fs.suid_dumpable=0
# Per CCE-80916-0: Set kernel.randomize_va_space = 2 in /etc/sysctl.conf</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>
# Per CCE-80916-0: Set kernel.randomize_va_space = 2 in /etc/sysctl.conf</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689831"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689831">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689831"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file(s) named .* in /etc/sysctl.d exists and matches pattern ^\s*fs\.suid_dumpable\s*=\s*0\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.d/99-CIS.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.d</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>99-CIS.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*fs\.suid_dumpable\s*=\s*0\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>fs.suid_dumpable=0
</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>fs.suid_dumpable=0
</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Address space layout randomization (ASLR) is an exploit mitigation technique which randomly arranges the address space of key data areas of a process.
Randomly placing virtual memory regions will make it difficult to write memory page exploits as the memory placement will be consistently shifting.
Set the following parameter in /etc/sysctl.conf or a /etc/sysctl.d/* file:
kernel.randomize_va_space = 2
Run the following command to set the active kernel parameter:
# sysctl -w kernel.randomize_va_space=2
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.6.2_Ensure_address_space_layout_randomization_ASLR_is_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.140+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/8/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659235_var"/>
<xccdf:check-content-ref href="sce/sysctl_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sysctl_running_config.sh"
href="sce/sysctl_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>sysctl parameter is: kernel.randomize_va_space = 2</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sysctl_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>sysctl parameter is: kernel.randomize_va_space = 2</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689832"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689832">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689832"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/sysctl.conf exists and matches pattern kernel.randomize_va_space\s*=\s*[^2]\s*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689833"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689833">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689833"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /etc/sysctl.d/ exists and matches pattern kernel.randomize_va_space\s*=\s*[^2]\s*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689834"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689834">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689834"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /usr/lib/sysctl.d/ exists and matches pattern kernel.randomize_va_space\s*=\s*[^2]\s*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689835"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689835">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689835"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /run/sysctl.d/ exists and matches pattern kernel.randomize_va_space\s*=\s*[^2]\s*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Control the installation, spread, and execution of malicious code at multiple points in the enterprise, while optimizing the use of automation to enable rapid updating of defense, data gathering, and corrective action. |
| Subcontrol: | 8.3 |
| Label: | Enable Operating System Anti-Exploitation Features/ Deploy Anti-Exploit Technologies |
| Description: | Enable anti-exploitation features such as Data Execution Prevention (DEP) or Address Space Layout Randomization (ASLR) that are available in an operating system or deploy appropriate toolkits that can be configured to apply protection to a broader set of applications and executables. |
Mandatory Access Control (MAC) provides an additional layer of access restrictions to processes on top of the base Discretionary Access Controls. By restricting how processes can access files and resources on a system the potential impact from vulnerabilities in the processes can be reduced.
Impact: Mandatory Access Control limits the capabilities of applications and daemons on a system, while this can prevent unauthorized access the configuration of MAC can be complex and difficult to implement correctly preventing legitimate access from occurring.
SELinux implements Mandatory Access Control (MAC). Every process and system resource has a special security label called an SELinux context. A SELinux context, sometimes referred to as an SELinux label, is an identifier which abstracts away the system-level details and focuses on the security properties of the entity. Not only does this provide a consistent way of referencing objects in the SELinux policy, but it also removes any ambiguity that can be found in other identification methods. For example, a file can have multiple valid path names on a system that makes use of bind mounts.
The SELinux policy uses these contexts in a series of rules which define how processes can interact with each other and the various system resources. By default, the policy does not allow any interaction unless a rule explicitly grants access.
In Red Hat Enterprise Linux 8, system services are controlled by the systemd daemon; systemd starts and stops all services, and users and processes communicate with systemd using the systemctl utility. The systemd daemon can consult the SELinux policy and check the label of the calling process and the label of the unit file that the caller tries to manage, and then ask SELinux whether or not the caller is allowed the access. This approach strengthens access control to critical system capabilities, which include starting and stopping system services.
This automatically limits the damage that the software can do to files accessible by the calling user. The user does not need to take any action to gain this benefit. For an action to occur, both the traditional DAC permissions must be satisfied as well as the SELinux MAC rules. The action will not be allowed if either one of these models does not permit the action. In this way, SELinux rules can only make a system's permissions more restrictive and secure. SELinux requires a complex policy to allow all the actions required of a system under normal operation. Two such policies have been designed for use with RHEL8 and are included with the system: targeted and mls . These are described as follows:
This section provides guidance for the configuration of the targeted policy.
Notes:
References:
SELinux provides Mandatory Access Control.
Without a Mandatory Access Control system installed only the default Discretionary Access Control system will be available.
Run the following command to install SELinux :
# dnf install libselinux
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.1_Ensure_SELinux_is_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.140+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659499"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659499">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659499"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'libselinux' is installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>libselinux</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>5.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>2.9</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:2.9-5.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>libselinux-0:2.9-5.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.6 |
| Label: | Protect Information through Access Control Lists |
| Description: | Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. |
Configure SELINUX to be enabled at boot time and verify that it has not been overwritten by the grub boot parameters.
SELinux must be enabled at boot time in your grub configuration to ensure that the controls it provides are not overridden.
Edit /etc/default/grub and remove all instances of selinux=0 and enforcing=0 from all CMDLINE_LINUX parameters:
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
Run the following command to update the grub2 configuration:
# grub2-mkconfig -o /boot/grub2/grub.cfg
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.2_Ensure_SELinux_is_not_disabled_in_bootloader_configuration"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.140+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659436"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659436">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659436"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /boot/grub2/grubenv exists and matches pattern ^\s*kernelopts=(\S+\s+)*selinux=0\s*(\S+\s*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659441"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659441">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659441"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /boot/grub2/grubenv exists and matches pattern ^\s*kernelopts=(\S+\s+)*enforcing=0\s*(\S+\s*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.6 |
| Label: | Protect Information through Access Control Lists |
| Description: | Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. |
Configure SELinux to meet or exceed the default targeted policy, which constrains daemons and system software only.
Security configuration requirements vary from site to site. Some sites may mandate a policy that is stricter than the default policy, which is perfectly acceptable. This item is intended to ensure that at least the default recommendations are met.
Edit the /etc/selinux/config file to set the SELINUXTYPE parameter:
SELINUXTYPE=targeted
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.3_Ensure_SELinux_policy_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.140+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659471"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659471">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659471"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/selinux/config exists and matches pattern ^\s*SELINUXTYPE\s*=\s*(targeted|mls)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/selinux/config</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/selinux</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>config</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*SELINUXTYPE\s*=\s*(targeted|mls)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>SELINUXTYPE=targeted
</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>SELINUXTYPE=targeted
</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>targeted</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659477_var"/>
<xccdf:check-content-ref href="sce/sestatus_check.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sestatus_check.sh"
href="sce/sestatus_check.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sestatus_check.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.6 |
| Label: | Protect Information through Access Control Lists |
| Description: | Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. |
Set SELinux to enable when the system is booted.
SELinux must be enabled at boot time to ensure that the controls it provides are in effect at all times.
Edit the /etc/selinux/config file to set the SELINUX parameter:
SELINUX=enforcing
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.4_Ensure_the_SELinux_state_is_enforcing"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659449"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659449">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659449"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/selinux/config exists and matches pattern ^\s*SELINUX\s*=\s*enforcing\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/selinux/config</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/selinux</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>config</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*SELINUX\s*=\s*enforcing\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>SELINUX=enforcing
# SELINUXTYPE= can take one of these three values:</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>SELINUX=enforcing
# SELINUXTYPE= can take one of these three values:</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>
# SELINUXTYPE= can take one of these three values:</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659453_var"/>
<xccdf:check-content-ref href="sce/sestatus_check.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sestatus_check.sh"
href="sce/sestatus_check.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sestatus_check.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659458_var"/>
<xccdf:check-content-ref href="sce/sestatus_check.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sestatus_check.sh"
href="sce/sestatus_check.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sestatus_check.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659462_var"/>
<xccdf:check-content-ref href="sce/sestatus_check.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sestatus_check.sh"
href="sce/sestatus_check.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sestatus_check.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.6 |
| Label: | Protect Information through Access Control Lists |
| Description: | Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. |
Unconfined processes run in unconfined domains
For unconfined processes, SELinux policy rules are applied, but policy rules exist that allow processes running in unconfined domains almost all access. Processes running in unconfined domains fall back to using DAC rules exclusively. If an unconfined process is compromised, SELinux does not prevent an attacker from gaining access to system resources and data, but of course, DAC rules are still used. SELinux is a security enhancement on top of DAC rules – it does not replace them
Investigate any unconfined processes found during the audit action. They may need to have an existing security context assigned to them or a policy built for them.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.5_Ensure_no_unconfined_services_exist"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/unconfined_services.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/unconfined_services.sh"
href="sce/unconfined_services.sh"
xccdf="pass"
exit-value="101">
<out>
<l>No unconfined services exist</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/unconfined_services.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No unconfined services exist</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The SETroubleshoot service notifies desktop users of SELinux denials through a user-friendly interface. The service provides important information around configuration errors, unauthorized intrusions, and other potential errors.
The SETroubleshoot service is an unnecessary daemon to have running on a server, especially if X Windows is disabled.
Run the following command to uninstall setroubleshoot :
# dnf remove setroubleshoot
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.6_Ensure_SETroubleshoot_is_not_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659481"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659481">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659481"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'setroubleshoot' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.6 |
| Label: | Protect Information through Access Control Lists |
| Description: | Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. |
The mcstransd daemon provides category label information to client processes requesting information. The label translations are defined in /etc/selinux/targeted/setrans.conf
Since this service is not used very often, remove it to reduce the amount of potentially vulnerable code running on the system.
Run the following command to uninstall mcstrans :
# dnf remove mcstrans
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.7.1.7_Ensure_the_MCS_Translation_Service_mcstrans_is_not_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659488"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659488">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659488"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'mcstrans' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
Presenting a warning message prior to the normal user login may assist in the prosecution of trespassers on the computer system. Changing some of these login banners also has the side effect of hiding OS version information and other detailed system information from attackers attempting to target specific exploits at a system.
Guidelines published by the US Department of Defense require that warning messages include at least the name of the organization that owns the system, the fact that the system is subject to monitoring and that such monitoring is in compliance with local statutes, and that use of the system implies consent to such monitoring. It is important that the organization's legal counsel review the content of all messages before any system modifications are made, as these warning messages are inherently site-specific. More information (including citations of relevant case law) can be found at http://www.justice.gov/criminal/cybercrime/
Note: The text provided in the remediation actions for these items is intended as an example only. Please edit to include the specific text for your organization as approved by your legal department.
The /etc/motd , /etc/issue , and /etc/issue.net files govern warning banners for standard command line logins for both local and remote users.
The contents of the /etc/motd file are displayed to users after login and function as a message of the day for authenticated users.
Unix-based systems have typically displayed information about the OS release and patch level upon logging in to the system. This information can be useful to developers who are developing software for a particular OS platform. If mingetty(8) supports the following options, they display operating system information: \m - machine architecture \r - operating system release \s - operating system name \v - operating system version
Warning messages inform users who are attempting to login to the system of their legal status regarding the system and must include the name of the organization that owns the system and any monitoring policies that are in place. Displaying OS and patch level information in login banners also has the side effect of providing detailed system information to attackers attempting to target specific exploits of a system. Authorized users can easily get this information by running the " uname -a " command once they have logged in.
Edit the /etc/motd file with the appropriate contents according to your site policy, remove any instances of \m , \r , \s , \v or references to the OS platform
OR
If the motd is not used, this file can be removed.
Run the following command to remove the motd file:
# rm /etc/motd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.1_Ensure_message_of_the_day_is_configured_properly"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/wbmotd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/wbmotd.sh"
href="sce/wbmotd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>Warning Banner "/etc/motd" passed</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/wbmotd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Warning Banner "/etc/motd" passed</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The contents of the /etc/issue file are displayed to users prior to login for local terminals.
Unix-based systems have typically displayed information about the OS release and patch level upon logging in to the system. This information can be useful to developers who are developing software for a particular OS platform. If mingetty(8) supports the following options, they display operating system information: \m - machine architecture \r - operating system release \s - operating system name \v - operating system version - or the operating system's name
Warning messages inform users who are attempting to login to the system of their legal status regarding the system and must include the name of the organization that owns the system and any monitoring policies that are in place. Displaying OS and patch level information in login banners also has the side effect of providing detailed system information to attackers attempting to target specific exploits of a system. Authorized users can easily get this information by running the " uname -a " command once they have logged in.
Edit the /etc/issue file with the appropriate contents according to your site policy, remove any instances of \m , \r , \s , \v or references to the OS platform
# echo "Authorized uses only. All activity may be monitored and reported." > /etc/issue
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.2_Ensure_local_login_warning_banner_is_configured_properly"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/wbissue.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/wbissue.sh"
href="sce/wbissue.sh"
xccdf="pass"
exit-value="101">
<out>
<l>Warning Banner "/etc/issue" passed</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/wbissue.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Warning Banner "/etc/issue" passed</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689840"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689840">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689840"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/issue exists and matches pattern ^.+$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/issue</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>issue</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^.+$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>Authorized uses only. All activity may be monitored and reported.</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>Authorized uses only. All activity may be monitored and reported.</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The contents of the /etc/issue.net file are displayed to users prior to login for remote connections from configured services.
Unix-based systems have typically displayed information about the OS release and patch level upon logging in to the system. This information can be useful to developers who are developing software for a particular OS platform. If mingetty(8) supports the following options, they display operating system information: \m - machine architecture \r - operating system release \s - operating system name \v - operating system version
Warning messages inform users who are attempting to login to the system of their legal status regarding the system and must include the name of the organization that owns the system and any monitoring policies that are in place. Displaying OS and patch level information in login banners also has the side effect of providing detailed system information to attackers attempting to target specific exploits of a system. Authorized users can easily get this information by running the " uname -a " command once they have logged in.
Edit the /etc/issue.net file with the appropriate contents according to your site policy, remove any instances of \m , \r , \s , \v or references to the OS platform
# echo "Authorized uses only. All activity may be monitored and reported." > /etc/issue.net
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.3_Ensure_remote_login_warning_banner_is_configured_properly"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/wbissue.net.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/wbissue.net.sh"
href="sce/wbissue.net.sh"
xccdf="pass"
exit-value="101">
<out>
<l>Warning Banner "/etc/issue.net" passed</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/wbissue.net.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Warning Banner "/etc/issue.net" passed</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689841"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689841">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689841"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/issue.net exists and matches pattern ^.+$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/issue.net</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>issue.net</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^.+$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>/------------------------------------------------------------------------\</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>/------------------------------------------------------------------------\</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The contents of the /etc/motd file are displayed to users after login and function as a message of the day for authenticated users.
If the /etc/motd file does not have the correct ownership it could be modified by unauthorized users with incorrect or misleading information.
Run the following commands to set permissions on /etc/motd :
# chown root:root /etc/motd
# chmod u-x,go-wx /etc/motd
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.4_Ensure_permissions_on_etcmotd_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659476"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659476">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659476"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/motd exists and is owned by 0:0 and does not have permissions --x-wx-wx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/motd</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>motd</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673372</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963519</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963519</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>65</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724317"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724317">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:724317"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/motd exists and matches pattern ^.*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/motd</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>motd</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^.*$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>Authorized uses only. All activity may be monitored and reported.</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>Authorized uses only. All activity may be monitored and reported.</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The contents of the /etc/issue file are displayed to users prior to login for local terminals.
If the /etc/issue file does not have the correct ownership it could be modified by unauthorized users with incorrect or misleading information.
Run the following commands to set permissions on /etc/issue :
# chown root:root /etc/issue
# chmod u-x,go-wx /etc/issue
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.5_Ensure_permissions_on_etcissue_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659484"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659484">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659484"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/issue exists and is owned by 0:0 and does not have permissions --x-wx-wx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/issue</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>issue</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673359</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963519</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963518</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>65</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The contents of the /etc/issue.net file are displayed to users prior to login for remote connections from configured services.
If the /etc/issue.net file does not have the correct ownership it could be modified by unauthorized users with incorrect or misleading information.
Run the following commands to set permissions on /etc/issue.net :
# chown root:root /etc/issue.net
# chmod u-x,go-wx /etc/issue.net
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.8.1.6_Ensure_permissions_on_etcissue.net_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659495"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659495">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659495"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/issue.net exists and is owned by 0:0 and does not have permissions --x-wx-wx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/issue.net</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>issue.net</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673565</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958779</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1800</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
GDM is the GNOME Display Manager which handles graphical login for GNOME based systems.
Warning messages inform users who are attempting to login to the system of their legal status regarding the system and must include the name of the organization that owns the system and any monitoring policies that are in place.
Edit or create the file /etc/gdm3/greeter.dconf-defaults and add the following:
[org/gnome/login-screen]
banner-message-enable=true
banner-message-text='Authorized uses only. All activity may be monitored and reported.'
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.8.2_Ensure_GDM_login_banner_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659233"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659233">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659233"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/gdm/greeter.dconf-defaults exists and matches pattern ^\[org/gnome/login-screen\]$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659236"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659236">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659236"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/gdm/greeter.dconf-defaults exists and matches pattern ^banner-message-enable=true$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659240"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659240">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659240"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/gdm/greeter.dconf-defaults exists and matches pattern ^banner-message-text='.+'$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659243"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659243">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659243"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'gdm' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Periodically patches are released for included software either due to security flaws or to include additional functionality.
Newer patches may contain security enhancements that would not be available through the latest full update. As a result, it is recommended that the latest software patches be used to take advantage of the latest functionality. As with any software installation, organizations need to determine if a given update meets their requirements and verify the compatibility and supportability of any additional software against the update revision that is selected.
Use your package manager to update all packages on the system according to site policy.
The following command will install all available security updates:
# dnf update --security
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.9_Ensure_updates_patches_and_additional_security_software_are_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/3/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/yum_no_security_updates.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/yum_no_security_updates.sh"
href="sce/yum_no_security_updates.sh"
xccdf="fail"
exit-value="102">
<out>
<l>Updating Subscription Management repositories.</l>
<l/>
<l>This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.</l>
<l/>
<l>Red Hat Enterprise Linux 8 for x86_64 - BaseOS 0.0 B/s | 0 B 01:20 </l>
<l>Security updates are available.</l>
</out>
<err>
<l>Errors during downloading metadata for repository 'rhel-8-for-x86_64-baseos-rpms':</l>
<l> - Curl error (6): Couldn't resolve host name for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml [Could not resolve host: cdn.redhat.com]</l>
<l>Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried</l>
</err>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/yum_no_security_updates.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Updating Subscription Management repositories.</li>
<li/>
<li>This system is registered with an entitlement server, but is not receiving updates. You can use subscription-manager to assign subscriptions.</li>
<li/>
<li>Red Hat Enterprise Linux 8 for x86_64 - BaseOS 0.0 B/s | 0 B 01:20 </li>
<li>Security updates are available.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Errors:</td>
<td>
<ul>
<li>Errors during downloading metadata for repository 'rhel-8-for-x86_64-baseos-rpms':</li>
<li> - Curl error (6): Couldn't resolve host name for https://cdn.redhat.com/content/dist/rhel8/8/x86_64/baseos/os/repodata/repomd.xml [Could not resolve host: cdn.redhat.com]</li>
<li>Error: Failed to download metadata for repo 'rhel-8-for-x86_64-baseos-rpms': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried</li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Continuously acquire, assess, and take action on new information in order to identify vulnerabilities, remediate, and minimize the window of opportunity for attackers. |
| Subcontrol: | 3.4 |
| Label: | Deploy Automated Operating System Patch Management Tools |
| Description: | Deploy automated software update tools in order to ensure that the operating systems are running the most recent security updates provided by the software vendor. |
The system-wide crypto-policies followed by the crypto core components allow consistently deprecating and disabling algorithms system-wide.
The individual policy levels (DEFAULT, LEGACY, FUTURE, and FIPS) are included in the crypto-policies(7) package.
If the Legacy system-wide crypto policy is selected, it includes support for TLS 1.0, TLS 1.1, and SSH2 protocols or later. The algorithms DSA, 3DES, and RC4 are allowed, while RSA and Diffie-Hellman parameters are accepted if larger than 1023-bits.
These legacy protocols and algorithms can make the system vulnerable to attacks, including those listed in RFC 7457
Run the following command to change the system-wide crypto policy
# update-crypto-policies --set <CRYPTO POLICY>
Example:
# update-crypto-policies --set DEFAULT
Run the following to make the updated system-wide crypto policy active
# update-crypto-policies
Impact:
The default system-wide cryptographic policy in Oracle Linux 8 does not allow communication using older, insecure protocols. For environments that require to be compatible with Oracle Linux 5 and in some cases also with earlier releases, the less secure LEGACY policy level is available.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.10_Ensure_system-wide_crypto_policy_is_not_legacy"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.141+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">CRYPTO-POLICIES(7)</xccdf:ident>
<xccdf:ident system="http://cce.mitre.org">https://access.redhat.com/articles/3642912#what-polices-are-provided-1</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659135"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659135">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659135"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/crypto-policies/config exists and matches pattern ^\s*(?i)LEGACY\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | CRYPTO-POLICIES(7) |
| Published On: | |
| Last Modified On: | |
| CCE Information | |
|---|---|
| CCE-IDv5: | https://access.redhat.com/articles/3642912#what-polices-are-provided-1 |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.4 |
| Label: | Encrypt All Sensitive Information in Transit |
| Description: | Encrypt all sensitive information in transit. |
The system-wide crypto-policies followed by the crypto core components allow consistently deprecating and disabling algorithms system-wide.
The individual policy levels (DEFAULT, LEGACY, FUTURE, and FIPS) are included in the crypto-policies(7) package.
If the Legacy system-wide crypto policy is selected, it includes support for TLS 1.0, TLS 1.1, and SSH2 protocols or later. The algorithms DSA, 3DES, and RC4 are allowed, while RSA and Diffie-Hellman parameters are accepted if larger than 1023-bits.
These legacy protocols and algorithms can make the system vulnerable to attacks, including those listed in RFC 7457
FUTURE: Is a conservative security level that is believed to withstand any near-term future attacks. This level does not allow the use of SHA-1 in signature algorithms. The RSA and Diffie-Hellman parameters are accepted if larger than 3071 bits. The level provides at least 128-bit security
FIPS: Conforms to the FIPS 140-2 requirements. This policy is used internally by the fips-mode-setup(8) tool which can switch the system into the FIPS 140-2 compliance mode. The level provides at least 112-bit security
Run the following command to change the system-wide crypto policy
# update-crypto-policies --set FUTURE
OR
To switch the system to FIPS mode, run the following command:
# fips-mode-setup --enable
Impact:
The system-wide cryptographic policy in Red Hat Enterprise Linux 8 does not allow communication using older, insecure protocols. For environments that require to be compatible with Oracle Linux 5 and in some cases also with earlier releases, the less secure LEGACY policy level is available.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_1.11_Ensure_system-wide_crypto_policy_is_FUTURE_or_FIPS"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">CRYPTO-POLICIES(7)</xccdf:ident>
<xccdf:ident system="http://cce.mitre.org">https://access.redhat.com/articles/3642912#what-polices-are-provided-1</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659136"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659136">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659136"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/crypto-policies/config exists and matches pattern ^(?i)\s*(FUTURE|FIPS)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | CRYPTO-POLICIES(7) |
| Published On: | |
| Last Modified On: | |
| CCE Information | |
|---|---|
| CCE-IDv5: | https://access.redhat.com/articles/3642912#what-polices-are-provided-1 |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.4 |
| Label: | Encrypt All Sensitive Information in Transit |
| Description: | Encrypt all sensitive information in transit. |
While applying system updates and patches helps correct known vulnerabilities, one of the best ways to protect the system against as yet unreported vulnerabilities is to disable all services that are not required for normal system operation. This prevents the exploitation of vulnerabilities discovered at a later date. If a service is not enabled, it cannot be exploited. The actions in this section of the document provide guidance on some services which can be safely disabled and under which circumstances, greatly reducing the number of possible threats to the resulting system. Additionally some services which should remain enabled but with secure configuration are covered as well as insecure service clients.
inetd is a super-server daemon that provides internet services and passes connections to configured services. While not commonly used inetd and any unneeded inetd based services should be disabled if possible.
The eXtended InterNET Daemon ( xinetd ) is an open source super daemon that replaced the original inetd daemon. The xinetd daemon listens for well known services and dispatches the appropriate daemon to properly respond to service requests.
If there are no xinetd services required, it is recommended that the package be removed.
Run the following command to remove xinetd :
# dnf remove xinetd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.1.1_Ensure_xinetd_is_not_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659139"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659139">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659139"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'xinetd' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
This section describes services that are installed on systems that specifically need to run these services. If any of these services are not required, it is recommended that they be disabled or deleted from the system to reduce the potential attack surface.
It is recommended that physical systems and virtual guests lacking direct access to the physical host's clock be configured to synchronize their time using chrony.
System time should be synchronized between all systems in an environment. This is typically done by establishing an authoritative time server or set of servers and having all systems synchronize their clocks to them.
Time synchronization is important to support time sensitive security mechanisms like Kerberos and also ensures log files have consistent time records across the enterprise, which aids in forensic investigations.
On physical systems or virtual systems where host based time synchronization is not available install chrony :
Run the folloing command to install chrony:
# dnf install chrony
On virtual systems where host based time synchronization is available consult your virtualization software documentation and setup host based synchronization.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.1.1_Ensure_time_synchronization_is_in_use"
role="unscored"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="0.0">
<xccdf:result>informational</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659426"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659426">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659426"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'chrony' is installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>chrony</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>1.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>4.1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:4.1-1.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>chrony-0:4.1-1.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.1 |
| Label: | Utilize Three Synchronized Time Sources |
| Description: | Use at least three synchronized time sources from which all servers and network devices retrieve time information on a regular basis so that timestamps in logs are consistent. |
chrony is a daemon which implements the Network Time Protocol (NTP) and is designed to synchronize system clocks across a variety of systems and use a source that is highly accurate. More information on chrony can be found at http://chrony.tuxfamily.org/ . chrony can be configured to be a client and/or a server.
If chrony is in use on the system proper configuration is vital to ensuring time synchronization is working properly.
This recommendation only applies if chrony is in use on the system.
Add or edit server or pool lines to /etc/chrony.conf as appropriate:
server <remote-server>
Configure chrony to run as the chrony user
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.1.2_Ensure_chrony_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659430"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659430">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659430"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/chrony.conf exists and matches pattern ^\s*(server|pool)\s+\S+</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/chrony.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>chrony.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*(server|pool)\s+\S+</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>pool 2.rhel.pool.ntp.org</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>pool 2.rhel.pool.ntp.org</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>pool</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659434"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659434">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659434"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "chronyd is running as chrony user"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659437"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659437">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659437"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'chrony' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>chrony</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>1.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>4.1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:4.1-1.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>chrony-0:4.1-1.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.1 |
| Label: | Utilize Three Synchronized Time Sources |
| Description: | Use at least three synchronized time sources from which all servers and network devices retrieve time information on a regular basis so that timestamps in logs are consistent. |
The X Window System provides a Graphical User Interface (GUI) where users can have multiple windows in which to run programs and various add on. The X Windows system is typically used on workstations where users login, but not on servers where users typically do not login.
Unless your organization specifically requires graphical login access via X Windows, remove it to reduce the potential attack surface.
Run the following command to remove the X Windows System packages.
# dnf remove xorg-x11*
Impact:
Many Linux systems run applications which require a Java runtime. Some Linux Java packages have a dependency on specific X Windows xorg-x11-fonts. One workaround to avoid this dependency is to use the "headless" Java packages for your specific Java runtime, if provided by your distribution.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.2_Ensure_X_Window_System_is_not_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/2/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659140"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659140">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659140"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name pattern match '^xorg-x11.*' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659142"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659142">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659142"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name pattern match '^xserver-xorg.*' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage (inventory, track, and correct) all software on the network so that only authorized software is installed and can execute, and that all unauthorized and unmanaged software is found and prevented from installation or execution. |
| Subcontrol: | 2.6 |
| Label: | Address unapproved software |
| Description: | Ensure that unauthorized software is either removed or the inventory is updated in a timely manner |
The rsyncd service can be used to synchronize files between systems over network links.
The rsyncd service presents a security risk as it uses unencrypted protocols for communication.
Run the following command to disable rsyncd :
# systemctl --now disable rsyncd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.3_Ensure_rsync_service_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659174"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659174">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659174"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'rsyncd' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>rsyncd</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
Avahi is a free zeroconf implementation, including a system for multicast DNS/DNS-SD service discovery. Avahi allows programs to publish and discover services and hosts running on a local network with no specific configuration. For example, a user can plug a computer into a network and Avahi automatically finds printers to print to, files to look at and people to talk to, as well as network services running on the machine.
Automatic discovery of network services is not normally required for system functionality. It is recommended to disable the service to reduce the potential attack surface.
Run the following command to disable avahi-daemon :
# systemctl --now disable avahi-daemon
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.4_Ensure_Avahi_Server_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659144"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659144">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659144"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'avahi-daemon' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>avahi-daemon</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Simple Network Management Protocol (SNMP) server is used to listen for SNMP commands from an SNMP management system, execute the commands or collect the information and then send results back to the requesting system.
The SNMP server can communicate using SNMP v1, which transmits data in the clear and does not require authentication to execute commands. Unless absolutely necessary, it is recommended that the SNMP service not be used. If SNMP is required the server should be configured to disallow SNMP v1.
Run the following command to disable snmpd :
# systemctl --now disable snmpd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.5_Ensure_SNMP_Server_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659167"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659167">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659167"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'snmpd' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>snmpd</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
Squid is a standard proxy server used in many distributions and environments.
If there is no need for a proxy server, it is recommended that the squid proxy be deleted to reduce the potential attack surface.
Run the following command to disable squid :
# systemctl --now disable squid
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.6_Ensure_HTTP_Proxy_Server_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659166"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659166">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659166"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'squid' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>squid</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Samba daemon allows system administrators to configure their Linux systems to share file systems and directories with Windows desktops. Samba will advertise the file systems and directories via the Server Message Block (SMB) protocol. Windows desktop users will be able to mount these directories and file systems as letter drives on their systems.
If there is no need to mount directories and file systems to Windows systems, then this service can be deleted to reduce the potential attack surface.
Run the following command to disable smb :
# systemctl --now disable smb
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.7_Ensure_Samba_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659164"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659164">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659164"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'smb' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>smb</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
dovecot is an open source IMAP and POP3 server for Linux based systems.
Unless POP3 and/or IMAP servers are to be provided by this system, it is recommended that the service be deleted to reduce the potential attack surface.
Run the following command to disable dovecot :
# systemctl --now disable dovecot
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.8_Ensure_IMAP_and_POP3_server_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659161"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659161">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659161"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'dovecot' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>dovecot</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
HTTP or web servers provide the ability to host web site content.
Unless there is a need to run the system as a web server, it is recommended that the package be deleted to reduce the potential attack surface.
Run the following command to disable httpd :
# systemctl --now disable httpd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.9_Ensure_HTTP_server_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659159"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659159">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659159"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'httpd' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>httpd</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The File Transfer Protocol (FTP) provides networked computers with the ability to transfer files.
FTP does not protect the confidentiality of data or authentication credentials. It is recommended SFTP be used if file transfer is required. Unless there is a need to run the system as a FTP server (for example, to allow anonymous downloads), it is recommended that the package be deleted to reduce the potential attack surface.
Run the following command to disable vsftpd :
# systemctl --now disable vsftpd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.10_Ensure_FTP_Server_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.142+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659157"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659157">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659157"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'vsftpd' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>vsftpd</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Domain Name System (DNS) is a hierarchical naming system that maps names to IP addresses for computers, services and other resources connected to a network.
Unless a system is specifically designated to act as a DNS server, it is recommended that the package be deleted to reduce the potential attack surface.
Run the following command to disable named :
# systemctl --now disable named
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.11_Ensure_DNS_Server_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659155"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659155">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659155"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'named' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>named</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Network File System (NFS) is one of the first and most widely distributed file systems in the UNIX environment. It provides the ability for systems to mount file systems of other servers through the network.
If the system does not export NFS shares, it is recommended that the NFS be disabled to reduce the remote attack surface.
Run the following commands to disable NFS :
# systemctl --now disable nfs
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.12_Ensure_NFS_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659153"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659153">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659153"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'nfs-server' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>nfs-server</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>masked</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The rpcbind service maps Remote Procedure Call (RPC) services to the ports on which they listen. RPC processes notify rpcbind when they start, registering the ports they are listening on and the RPC program numbers they expect to serve. The client system then contacts rpcbind on the server with a particular RPC program number. The rpcbind service redirects the client to the proper port number so it can communicate with the requested service.
If the system does not require rpc based services, it is recommended that rpcbind be disabled to reduce the remote attack surface.
Run the following commands to disable rpcbind :
# systemctl --now disable rpcbind
Impact:
Because RPC-based services rely on rpcbind to make all connections with incoming client requests, rpcbind must be available before any of these services start
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.13_Ensure__RPC_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659179"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659179">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659179"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'rpcbind' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>rpcbind</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Lightweight Directory Access Protocol (LDAP) was introduced as a replacement for NIS/YP. It is a service that provides a method for looking up information from a central database.
If the system will not need to act as an LDAP server, it is recommended that the software be disabled to reduce the potential attack surface.
Run the following command to disable slapd :
# systemctl --now disable slapd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.14_Ensure_LDAP_server_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">For more detailed documentation on OpenLDAP, go to the project homepage at http://www.openldap.org.</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659151"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659151">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659151"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'slapd' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>slapd</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | For more detailed documentation on OpenLDAP, go to the project homepage at http://www.openldap.org. |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Dynamic Host Configuration Protocol (DHCP) is a service that allows machines to be dynamically assigned IP addresses.
Unless a system is specifically set up to act as a DHCP server, it is recommended that this service be deleted to reduce the potential attack surface.
Run the following command to disable dhcpd :
# systemctl --now disable dhcpd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.15_Ensure_DHCP_Server_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">More detailed documentation on DHCP is available at http://www.isc.org/software/dhcp.</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659148"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659148">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659148"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'dhcpd' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>dhcpd</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | More detailed documentation on DHCP is available at http://www.isc.org/software/dhcp. |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Common Unix Print System (CUPS) provides the ability to print to both local and network printers. A system running CUPS can also accept print jobs from remote systems and print them to local printers. It also provides a web based remote administration capability.
If the system does not need to print jobs or accept print jobs from other systems, it is recommended that CUPS be disabled to reduce the potential attack surface.
Run the following command to disable cups :
# systemctl --now disable cups
Impact:
Disabling CUPS will prevent printing from the system, a common task for workstation systems.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.16_Ensure_CUPS_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">More detailed documentation on CUPS is available at the project homepage at http://www.cups.org.</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659146"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659146">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659146"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'cups' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>cups</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | More detailed documentation on CUPS is available at the project homepage at http://www.cups.org. |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Network Information Service (NIS) (formally known as Yellow Pages) is a client-server directory service protocol for distributing system configuration files. The NIS server is a collection of programs that allow for the distribution of configuration files.
The NIS service is inherently an insecure system that has been vulnerable to DOS attacks, buffer overflows and has poor authentication for querying NIS maps. NIS generally has been replaced by such protocols as Lightweight Directory Access Protocol (LDAP). It is recommended that the service be disabled and other, more secure services be used
Run the following command to disable ypserv :
# systemctl --now disable ypserv
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.17_Ensure_NIS_Server_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659177"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659177">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659177"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'ypserv' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>ypserv</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
Mail Transfer Agents (MTA), such as sendmail and Postfix, are used to listen for incoming mail and transfer the messages to the appropriate user or mail server. If the system is not intended to be a mail server, it is recommended that the MTA be configured to only process local mail.
The software for all Mail Transfer Agents is complex and most have a long history of security issues. While it is important to ensure that the system can process local mail messages, it is not necessary to have the MTA's daemon listening on a port unless the server is intended to be a mail server that receives and processes mail from other systems.
Edit /etc/postfix/main.cf and add the following line to the RECEIVING MAIL section. If the line already exists, change it to look like the line below:
inet_interfaces = loopback-only
Run the following command to restart postfix
# systemctl restart postfix
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.2.18_Ensure_mail_transfer_agent_is_configured_for_local-only_mode"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659170"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659170">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659170"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "No Servers Listening On Port 25"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
A number of insecure services exist. While disabling the servers prevents a local attack against these services, it is advised to remove their clients unless they are required.
Note : This should not be considered a comprehensive list of insecure service clients. You may wish to consider additions to those listed here for your environment.
The Network Information Service (NIS), formerly known as Yellow Pages, is a client-server directory service protocol used to distribute system configuration files. The NIS client ( ypbind ) was used to bind a machine to an NIS server and receive the distributed configuration files.
The NIS service is inherently an insecure system that has been vulnerable to DOS attacks, buffer overflows and has poor authentication for querying NIS maps. NIS generally has been replaced by such protocols as Lightweight Directory Access Protocol (LDAP). It is recommended that the service be removed.
Run the following command to Uninstall ypbind
# dnf remove ypbind
Impact:
Many insecure service clients are used as troubleshooting tools and in testing environments. Uninstalling them can inhibit capability to test and troubleshoot. If they are required it is advisable to remove the clients after use to prevent accidental or intentional misuse.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.3.1_Ensure_NIS_Client_is_not_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/2/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659141"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659141">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659141"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'ypbind' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage (inventory, track, and correct) all software on the network so that only authorized software is installed and can execute, and that all unauthorized and unmanaged software is found and prevented from installation or execution. |
| Subcontrol: | 2.6 |
| Label: | Address unapproved software |
| Description: | Ensure that unauthorized software is either removed or the inventory is updated in a timely manner |
The telnet package contains the telnet client, which allows users to start connections to other systems via the telnet protocol.
The telnet protocol is insecure and unencrypted. The use of an unencrypted transmission medium could allow an unauthorized user to steal credentials. The ssh package provides an encrypted session and stronger security and is included in most Linux distributions.
Run the folling command to uninstall telnet
# dnf remove telnet
Impact:
Many insecure service clients are used as troubleshooting tools and in testing environments. Uninstalling them can inhibit capability to test and troubleshoot. If they are required it is advisable to remove the clients after use to prevent accidental or intentional misuse.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.3.2_Ensure_telnet_client_is_not_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/5"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659143"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659143">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659143"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'telnet' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.5 |
| Label: | Use Multifactor Authentication For All Administrative Access |
| Description: | Use multi-factor authentication and encrypted channels for all administrative account access. |
The Lightweight Directory Access Protocol (LDAP) was introduced as a replacement for NIS/YP. It is a service that provides a method for looking up information from a central database.
If the system will not need to act as an LDAP client, it is recommended that the software be removed to reduce the potential attack surface.
Run the following command to uninstall openldap-clients .
# dnf remove openldap-clients
Impact:
Removing the LDAP client will prevent or inhibit using LDAP for authentication in your environment.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_2.3.3_Ensure_LDAP_client_is_not_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/2/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659145"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659145">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659145"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openldap-clients' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage (inventory, track, and correct) all software on the network so that only authorized software is installed and can execute, and that all unauthorized and unmanaged software is found and prevented from installation or execution. |
| Subcontrol: | 2.6 |
| Label: | Address unapproved software |
| Description: | Ensure that unauthorized software is either removed or the inventory is updated in a timely manner |
This section provides guidance on for securing the network configuration of the system through kernel parameters, access list control, and firewall settings.
The following network parameters are intended for use if the system is to act as a host only. A system is considered host only if the system has a single interface, or has multiple interfaces but will not be configured as a router.
The net.ipv4.ip_forward and net.ipv6.conf.all.forwarding flags are used to tell the system whether it can forward packets or not.
Setting the flags to 0 ensures that a system with multiple interfaces (for example, a hard proxy), will never be able to forward packets, and therefore, never serve as a router.
Run the following commands to restore the default parameters and set the active kernel parameters:
# grep -Els "^\s*net\.ipv4\.ip_forward\s*=\s*1" /etc/sysctl.conf /etc/sysctl.d/*.conf
/usr/lib/sysctl.d/*.conf /run/sysctl.d/*.conf | while read filename; do sed -ri "s/^\s*(net\.ipv4\.ip_forward\s*)(=)(\s*\S+\b).*$/#
*REMOVED* \1/" $filename; done; sysctl -w net.ipv4.ip_forward=0; sysctl -w net.ipv4.route.flush=1
# grep -Els "^\s*net\.ipv6\.conf\.all\.forwarding\s*=\s*1" /etc/sysctl.conf /etc/sysctl.d/*.conf
/usr/lib/sysctl.d/*.conf /run/sysctl.d/*.conf | while read filename; do sed -ri "s/^\s*(net\.ipv6\.conf\.all\.forwarding\s*)(=)(\s*\S+\b).*$/#
*REMOVED* \1/" $filename; done; sysctl -w net.ipv6.conf.all.forwarding=0; sysctl -w
net.ipv6.route.flush=1
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.1.1_Ensure_IP_forwarding_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659346_var"/>
<xccdf:check-content-ref href="sce/sysctl_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sysctl_running_config.sh"
href="sce/sysctl_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>sysctl parameter is: net.ipv4.ip_forward = 0</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sysctl_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>sysctl parameter is: net.ipv4.ip_forward = 0</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659350"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659350">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659350"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/sysctl.conf exists and matches pattern ^\s*net\.ipv4\.ip_forward\s*=\s*1\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659354"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659354">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659354"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /etc/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.ip_forward\s*=\s*1\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659360"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659360">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659360"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /usr/lib/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.ip_forward\s*=\s*1\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659364"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659364">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659364"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /run/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.ip_forward\s*=\s*1\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659370_var"/>
<xccdf:check-content-ref href="sce/sysctl_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sysctl_running_config.sh"
href="sce/sysctl_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>sysctl parameter is: net.ipv6.conf.all.forwarding = 0</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sysctl_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>sysctl parameter is: net.ipv6.conf.all.forwarding = 0</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659376"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659376">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659376"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/sysctl.conf exists and matches pattern ^\s*net\.ipv6\.conf\.all\.forwarding\s*=\s*1\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659380"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659380">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659380"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /etc/sysctl.d/ exists and matches pattern ^\s*net\.ipv6\.conf\.all\.forwarding\s*=\s*1\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659387"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659387">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659387"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /usr/lib/sysctl.d/ exists and matches pattern ^\s*net\.ipv6\.conf\.all\.forwarding\s*=\s*1\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659393"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659393">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659393"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /run/sysctl.d/ exists and matches pattern ^\s*net\.ipv6\.conf\.all\.forwarding\s*=\s*1\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
ICMP Redirects are used to send routing information to other hosts. As a host itself does not act as a router (in a host only configuration), there is no need to send redirects.
An attacker could use a compromised host to send invalid ICMP redirects to other router devices in an attempt to corrupt routing and have users access a system set up by the attacker as opposed to a valid system.
Set the following parameters in /etc/sysctl.conf or a /etc/sysctl.d/* file:
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
Run the following commands to set the active kernel parameters:
# sysctl -w net.ipv4.conf.all.send_redirects=0
# sysctl -w net.ipv4.conf.default.send_redirects=0
# sysctl -w net.ipv4.route.flush=1
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.1.2_Ensure_packet_redirect_sending_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.143+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659401"
value-id="xccdf_org.cisecurity.benchmarks_value_659401_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659401"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659401">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594012"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.send_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.all.send_redirects\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.send_redirects=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.send_redirects=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594013"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.send_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594011"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.send_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.send_redirects</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659406"
value-id="xccdf_org.cisecurity.benchmarks_value_659406_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659406"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659406">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594062"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.send_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.default.send_redirects\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.send_redirects=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.send_redirects=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594063"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.send_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594061"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.send_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.send_redirects</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The following network parameters are intended for use on both host only and router systems. A system acts as a router if it has at least two interfaces and is configured to perform routing functions.
In networking, source routing allows a sender to partially or fully specify the route packets take through a network. In contrast, non-source routed packets travel a path determined by routers in the network. In some cases, systems may not be routable or reachable from some locations (e.g. private addresses vs. Internet routable), and so source routed packets would need to be used.
Setting net.ipv4.conf.all.accept_source_route, net.ipv4.conf.default.accept_source_route, net.ipv6.conf.all.accept_source_route and net.ipv6.conf.default.accept_source_route to 0 disables the system from accepting source routed packets. Assume this system was capable of routing packets to Internet routable addresses on one interface and private addresses on another interface. Assume that the private addresses were not routable to the Internet routable addresses and vice versa. Under normal routing circumstances, an attacker from the Internet routable addresses could not use the system as a way to reach the private address systems. If, however, source routed packets were allowed, they could be used to gain access to the private address systems as the route could be specified, rather than rely on routing protocols that did not allow this routing.
Set the following parameters in /etc/sysctl.conf or a /etc/sysctl.d/* file:
net.ipv4.conf.all.accept_source_route = 0
net.ipv4.conf.default.accept_source_route = 0
net.ipv6.conf.all.accept_source_route = 0
net.ipv6.conf.default.accept_source_route = 0
Run the following commands to set the active kernel parameters:
# sysctl -w net.ipv4.conf.all.accept_source_route=0
# sysctl -w net.ipv4.conf.default.accept_source_route=0
# sysctl -w net.ipv6.conf.all.accept_source_route=0
# sysctl -w net.ipv6.conf.default.accept_source_route=0
# sysctl -w net.ipv4.route.flush=1
# sysctl -w net.ipv6.route.flush=1
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.2.1_Ensure_source_routed_packets_are_not_accepted"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.144+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659347"
value-id="xccdf_org.cisecurity.benchmarks_value_659347_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659347"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659347">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593472"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.all.accept_source_route\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.accept_source_route=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.accept_source_route=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593473"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593471"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.accept_source_route</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659351"
value-id="xccdf_org.cisecurity.benchmarks_value_659351_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659351"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659351">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593512"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.default.accept_source_route\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.accept_source_route=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.accept_source_route=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593513"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593511"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.accept_source_route</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659356"
value-id="xccdf_org.cisecurity.benchmarks_value_659356_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659356"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659356">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593562"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.all.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv6.conf.all.accept_source_route\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.all.accept_source_route=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.all.accept_source_route=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593563"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.all.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593561"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.all.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.all.accept_source_route</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659359"
value-id="xccdf_org.cisecurity.benchmarks_value_659359_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659359"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659359">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593592"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.default.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv6.conf.default.accept_source_route\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.default.accept_source_route=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.default.accept_source_route=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593593"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.default.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593591"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.default.accept_source_route' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.default.accept_source_route</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
ICMP redirect messages are packets that convey routing information and tell your host (acting as a router) to send packets via an alternate path. It is a way of allowing an outside routing device to update your system routing tables. By setting net.ipv4.conf.all.accept_redirects and net.ipv6.conf.all.accept_redirects to 0, the system will not accept any ICMP redirect messages, and therefore, won't allow outsiders to update the system's routing tables.
Attackers could use bogus ICMP redirect messages to maliciously alter the system routing tables and get them to send packets to incorrect networks and allow your system packets to be captured.
Set the following parameters in /etc/sysctl.conf or a /etc/sysctl.d/* file:
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv6.conf.all.accept_redirects = 0
net.ipv6.conf.default.accept_redirects = 0
Run the following commands to set the active kernel parameters:
# sysctl -w net.ipv4.conf.all.accept_redirects=0
# sysctl -w net.ipv4.conf.default.accept_redirects=0
# sysctl -w net.ipv6.conf.all.accept_redirects=0
# sysctl -w net.ipv6.conf.default.accept_redirects=0
# sysctl -w net.ipv4.route.flush=1
# sysctl -w net.ipv6.route.flush=1
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.2.2_Ensure_ICMP_redirects_are_not_accepted"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.144+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659365"
value-id="xccdf_org.cisecurity.benchmarks_value_659365_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659365"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659365">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593652"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.all.accept_redirects\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.accept_redirects=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.accept_redirects=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593653"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593651"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.accept_redirects</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659368"
value-id="xccdf_org.cisecurity.benchmarks_value_659368_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659368"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659368">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593682"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.all.accept_redirects\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.accept_redirects=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.accept_redirects=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593683"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593681"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.accept_redirects</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659372"
value-id="xccdf_org.cisecurity.benchmarks_value_659372_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659372"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659372">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593722"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.all.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv6.conf.all.accept_redirects\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.all.accept_redirects=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.all.accept_redirects=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593723"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.all.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593721"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.all.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.all.accept_redirects</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659377"
value-id="xccdf_org.cisecurity.benchmarks_value_659377_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659377"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659377">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593772"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.default.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv6.conf.default.accept_redirects\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.default.accept_redirects=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.default.accept_redirects=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593773"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.default.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593771"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.default.accept_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.default.accept_redirects</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Secure ICMP redirects are the same as ICMP redirects, except they come from gateways listed on the default gateway list. It is assumed that these gateways are known to your system, and that they are likely to be secure.
It is still possible for even known gateways to be compromised. Setting net.ipv4.conf.all.secure_redirects to 0 protects the system from routing table updates by possibly compromised known gateways.
Set the following parameters in /etc/sysctl.conf or a /etc/sysctl.d/* file:
net.ipv4.conf.all.secure_redirects = 0
net.ipv4.conf.default.secure_redirects = 0
Run the following commands to set the active kernel parameters:
# sysctl -w net.ipv4.conf.all.secure_redirects=0
# sysctl -w net.ipv4.conf.default.secure_redirects=0
# sysctl -w net.ipv4.route.flush=1
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.2.3_Ensure_secure_ICMP_redirects_are_not_accepted"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.144+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659382"
value-id="xccdf_org.cisecurity.benchmarks_value_659382_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659382"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659382">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593822"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.secure_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.all.secure_redirects\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.secure_redirects=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.secure_redirects=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593823"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.secure_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593821"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.secure_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.secure_redirects</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659386"
value-id="xccdf_org.cisecurity.benchmarks_value_659386_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659386"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659386">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593862"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.secure_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.default.secure_redirects\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.secure_redirects=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.secure_redirects=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593863"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.secure_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593861"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.secure_redirects' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.secure_redirects</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
When enabled, this feature logs packets with un-routable source addresses to the kernel log.
Enabling this feature and logging these packets allows an administrator to investigate the possibility that an attacker is sending spoofed packets to their system.
Set the following parameters in /etc/sysctl.conf or a /etc/sysctl.d/* file:
net.ipv4.conf.all.log_martians = 1
net.ipv4.conf.default.log_martians = 1
Run the following commands to set the active kernel parameters:
# sysctl -w net.ipv4.conf.all.log_martians=1
# sysctl -w net.ipv4.conf.default.log_martians=1
# sysctl -w net.ipv4.route.flush=1
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.2.4_Ensure_suspicious_packets_are_logged"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.144+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659391"
value-id="xccdf_org.cisecurity.benchmarks_value_659391_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659391"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659391">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593912"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.log_martians' kernel parameter Equals 1 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.all.log_martians\s*=\s*1$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.log_martians=1</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.log_martians=1</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593913"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.log_martians' kernel parameter Equals 1 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593911"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.all.log_martians' kernel parameter Equals 1 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.all.log_martians</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659396"
value-id="xccdf_org.cisecurity.benchmarks_value_659396_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659396"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659396">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593962"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.log_martians' kernel parameter Equals 1 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.default.log_martians\s*=\s*1$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.log_martians=1</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.log_martians=1</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593963"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.log_martians' kernel parameter Equals 1 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6593961"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.log_martians' kernel parameter Equals 1 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.log_martians</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.2 |
| Label: | Activate audit logging |
| Description: | Ensure that local logging has been enabled on all systems and networking devices. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
Setting net.ipv4.icmp_echo_ignore_broadcasts to 1 will cause the system to ignore all ICMP echo and timestamp requests to broadcast and multicast addresses.
Accepting ICMP echo and timestamp requests with broadcast or multicast destinations for your network could be used to trick your host into starting (or participating) in a Smurf attack. A Smurf attack relies on an attacker sending large amounts of ICMP broadcast messages with a spoofed source address. All hosts receiving this message and responding would send echo-reply messages back to the spoofed address, which is probably not routable. If many hosts respond to the packets, the amount of traffic on the network could be significantly multiplied.
Run the following command to restore the default parameters and set the active kernel parameters:
# grep -Els "^\s*net\.ipv4\.icmp_echo_ignore_broadcasts\s*=\s*0" /etc/sysctl.conf
/etc/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /run/sysctl.d/*.conf | while read filename;
do sed -ri "s/^\s*(net\.ipv4\.icmp_echo_ignore_broadcasts\s*)(=)(\s*\S+\b).*$/# *REMOVED*
\1/" $filename; done; sysctl -w net.icmp_echo_ignore_broadcasts=1; sysctl -w net.ipv4.route.flush=1
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.2.5_Ensure_broadcast_ICMP_requests_are_ignored"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.144+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659398_var"/>
<xccdf:check-content-ref href="sce/sysctl_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sysctl_running_config.sh"
href="sce/sysctl_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>sysctl parameter is: net.ipv4.icmp_echo_ignore_broadcasts = 1</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sysctl_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>sysctl parameter is: net.ipv4.icmp_echo_ignore_broadcasts = 1</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689842"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689842">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689842"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/sysctl.conf exists and matches pattern ^\s*net\.ipv4\.icmp_echo_ignore_broadcasts\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689843"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689843">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689843"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /etc/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.icmp_echo_ignore_broadcasts\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689844"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689844">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689844"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /usr/lib/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.icmp_echo_ignore_broadcasts\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689845"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689845">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689845"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /run/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.icmp_echo_ignore_broadcasts\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Setting icmp_ignore_bogus_error_responses to 1 prevents the kernel from logging bogus responses (RFC-1122 non-compliant) from broadcast reframes, keeping file systems from filling up with useless log messages.
Some routers (and some attackers) will send responses that violate RFC-1122 and attempt to fill up a log file system with many useless error messages.
Run the following commands to restore the default parameters and set the active kernel parameters:
# grep -Els "^\s*net\.ipv4\.icmp_ignore_bogus_error_responses\s*=\s*0" /etc/sysctl.conf
/etc/sysctl.d/*.conf /usr/lib/sysctl.d/*.conf /run/sysctl.d/*.conf | while read filename;
do sed -ri "s/^\s*(net\.ipv4\.icmp_ignore_bogus_error_responses\s*)(=)(\s*\S+\b).*$/#
*REMOVED* \1/" $filename; done; sysctl -w net.ipv4.icmp_ignore_bogus_error_responses=1;
sysctl -w net.ipv4.route.flush=1
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.2.6_Ensure_bogus_ICMP_responses_are_ignored"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.144+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659404_var"/>
<xccdf:check-content-ref href="sce/sysctl_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sysctl_running_config.sh"
href="sce/sysctl_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>sysctl parameter is: net.ipv4.icmp_ignore_bogus_error_responses = 1</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sysctl_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>sysctl parameter is: net.ipv4.icmp_ignore_bogus_error_responses = 1</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689846"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689846">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689846"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/sysctl.conf exists and matches pattern ^\s*net\.ipv4\.icmp_ignore_bogus_error_responses\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689847"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689847">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689847"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /etc/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.icmp_ignore_bogus_error_responses\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689848"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689848">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689848"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /usr/lib/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.icmp_ignore_bogus_error_responses\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689849"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689849">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689849"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /run/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.icmp_ignore_bogus_error_responses\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Setting net.ipv4.conf.all.rp_filter and net.ipv4.conf.default.rp_filter to 1 forces the Linux kernel to utilize reverse path filtering on a received packet to determine if the packet was valid. Essentially, with reverse path filtering, if the return packet does not go out the same interface that the corresponding source packet came from, the packet is dropped (and logged if log_martians is set).
Setting these flags is a good way to deter attackers from sending your system bogus packets that cannot be responded to. One instance where this feature breaks down is if asymmetrical routing is employed. This would occur when using dynamic routing protocols (bgp, ospf, etc) on your system. If you are using asymmetrical routing on your system, you will not be able to enable this feature without breaking the routing.
Run the following command to restore the default net.ipv4.conf.all.rp_filter = 1 parameter and set the active kernel parameter:
# grep -Els "^\s*net\.ipv4\.conf\.all\.rp_filter\s*=\s*0" /etc/sysctl.conf /etc/sysctl.d/*.conf
/usr/lib/sysctl.d/*.conf /run/sysctl.d/*.conf | while read filename; do sed -ri "s/^\s*(net\.ipv4\.net.ipv4.conf\.all\.rp_filter\s*)(=)(\s*\S+\b).*$/#
*REMOVED* \1/" $filename; done; sysctl -w net.ipv4.conf.all.rp_filter=1; sysctl -w
net.ipv4.route.flush=1
Set the following parameter in /etc/sysctl.conf or a /etc/sysctl.d/* file:
net.ipv4.conf.default.rp_filter=1
Run the following commands to set the active kernel parameter:
# sysctl -w net.ipv4.conf.default.rp_filter=1
# sysctl -w net.ipv4.route.flush=1
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.2.7_Ensure_Reverse_Path_Filtering_is_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.144+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659407_var"/>
<xccdf:check-content-ref href="sce/sysctl_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sysctl_running_config.sh"
href="sce/sysctl_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>sysctl parameter is: net.ipv4.conf.all.rp_filter = 1</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sysctl_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>sysctl parameter is: net.ipv4.conf.all.rp_filter = 1</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659411"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659411">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659411"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/sysctl.conf exists and matches pattern ^\s*net\.ipv4\.conf\.all\.rp_filter\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689850"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689850">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689850"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /etc/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.conf\.all\.rp_filter\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689851"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689851">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689851"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /usr/lib/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.conf\.all\.rp_filter\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689852"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689852">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689852"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /run/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.conf\.all\.rp_filter\s*=\s*0\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:689853"
value-id="xccdf_org.cisecurity.benchmarks_value_689853_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689853"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689853">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6898532"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.rp_filter' kernel parameter Equals 1 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv4.conf.default.rp_filter\s*=\s*1$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.rp_filter=1</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.rp_filter=1</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6898533"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.rp_filter' kernel parameter Equals 1 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6898531"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv4.conf.default.rp_filter' kernel parameter Equals 1 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv4.conf.default.rp_filter</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
When tcp_syncookies is set, the kernel will handle TCP SYN packets normally until the half-open connection queue is full, at which time, the SYN cookie functionality kicks in. SYN cookies work by not using the SYN queue at all. Instead, the kernel simply replies to the SYN with a SYN|ACK, but will include a specially crafted TCP sequence number that encodes the source and destination IP address and port number and the time the packet was sent. A legitimate connection would send the ACK packet of the three way handshake with the specially crafted sequence number. This allows the system to verify that it has received a valid response to a SYN cookie and allow the connection, even though there is no corresponding SYN in the queue.
Attackers use SYN flood attacks to perform a denial of service attacked on a system by sending many SYN packets without completing the three way handshake. This will quickly use up slots in the kernel's half-open connection queue and prevent legitimate connections from succeeding. SYN cookies allow the system to keep accepting valid connections, even if under a denial of service attack.
Run the following command to restore the default parameter and set the active kernel parameters:
# grep -Els "^\s*net\.ipv4\.tcp_syncookies\s*=\s*[02]*" /etc/sysctl.conf /etc/sysctl.d/*.conf
/usr/lib/sysctl.d/*.conf /run/sysctl.d/*.conf | while read filename; do sed -ri "s/^\s*(net\.ipv4\.tcp_syncookies\s*)(=)(\s*\S+\b).*$/#
*REMOVED* \1/" $filename; done; sysctl -w net.ipv4.tcp_syncookies=1; sysctl -w net.ipv4.route.flush=1
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.2.8_Ensure_TCP_SYN_Cookies_is_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.145+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659418_var"/>
<xccdf:check-content-ref href="sce/sysctl_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sysctl_running_config.sh"
href="sce/sysctl_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>sysctl parameter is: net.ipv4.tcp_syncookies = 1</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sysctl_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>sysctl parameter is: net.ipv4.tcp_syncookies = 1</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659420"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659420">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659420"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/sysctl.conf exists and matches pattern ^\s*net\.ipv4\.tcp_syncookies\s*=\s*(0|2)\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659424"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659424">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659424"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /etc/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.tcp_syncookies\s*=\s*(0|2)\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659429"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659429">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659429"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /usr/lib/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.tcp_syncookies\s*=\s*(0|2)\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689854"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689854">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689854"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named ^\S+\.conf$ in /run/sysctl.d/ exists and matches pattern ^\s*net\.ipv4\.tcp_syncookies\s*=\s*(0|2)\s*</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
This setting disables the system's ability to accept IPv6 router advertisements.
It is recommended that systems do not accept router advertisements as they could be tricked into routing traffic to compromised machines. Setting hard routes within the system (usually a single default route to a trusted router) protects the system from bad routes.
Set the following parameters in /etc/sysctl.conf or a /etc/sysctl.d/* file:
net.ipv6.conf.all.accept_ra = 0
net.ipv6.conf.default.accept_ra = 0
Run the following commands to set the active kernel parameters:
# sysctl -w net.ipv6.conf.all.accept_ra=0
# sysctl -w net.ipv6.conf.default.accept_ra=0
# sysctl -w net.ipv6.route.flush=1
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.2.9_Ensure_IPv6_router_advertisements_are_not_accepted"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.145+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659438"
value-id="xccdf_org.cisecurity.benchmarks_value_659438_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659438"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659438">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594382"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.all.accept_ra' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv6.conf.all.accept_ra\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.all.accept_ra=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.all.accept_ra=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594383"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.all.accept_ra' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594381"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.all.accept_ra' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.all.accept_ra</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659442"
value-id="xccdf_org.cisecurity.benchmarks_value_659442_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659442"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659442">
<div class="criteria">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594422"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.default.accept_ra' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/sysctl.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sysctl.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*net.ipv6.conf.default.accept_ra\s*=\s*0$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.default.accept_ra=0</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.default.accept_ra=0</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594423"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.default.accept_ra' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6594421"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'net.ipv6.conf.default.accept_ra' kernel parameter Equals 0 (int)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Sysctl Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr class="evaluated">
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>net.ipv6.conf.default.accept_ra</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659445"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659445">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659445"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /boot/grub2/grubenv exists and matches pattern ^\s*kernelopts=(\S+\s+)*ipv6\.disable=1\b\s*(\S+\s*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The Linux kernel modules support several network protocols that are not commonly used. If these protocols are not needed, it is recommended that they be disabled in the kernel.
Note: This should not be considered a comprehensive list of uncommon network protocols, you may wish to consider additions to those listed here for your environment.
The Datagram Congestion Control Protocol (DCCP) is a transport layer protocol that supports streaming media and telephony. DCCP provides a way to gain access to congestion control, without having to do it at the application layer, but does not provide in-sequence delivery.
If the protocol is not required, it is recommended that the drivers not be installed to reduce the potential attack surface.
Edit or create a file in the /etc/modprobe.d/ directory ending in .conf
Example: vim /etc/modprobe.d/dccp.conf
and add the following line:
install dccp /bin/true
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.3.1_Ensure_DCCP_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.145+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659363"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659363">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659363"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module dccp is not loadable</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v dccp</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659367"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659367">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659367"
check="none satisfy"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module dccp is not loaded</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v dccp</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Stream Control Transmission Protocol (SCTP) is a transport layer protocol used to support message oriented communication, with several streams of messages in one connection. It serves a similar function as TCP and UDP, incorporating features of both. It is message-oriented like UDP, and ensures reliable in-sequence transport of messages with congestion control like TCP.
If the protocol is not being used, it is recommended that kernel module not be loaded, disabling the service to reduce the potential attack surface.
Edit or create a file in the /etc/modprobe.d/ directory ending in .conf
Example: vim /etc/modprobe.d/sctp.conf
and add the following line:
install sctp /bin/true
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.3.2_Ensure_SCTP_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.145+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659374"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659374">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659374"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module sctp is not loadable</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v sctp</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659375"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659375">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659375"
check="none satisfy"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module sctp is not loaded</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v sctp</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Reliable Datagram Sockets (RDS) protocol is a transport layer protocol designed to provide low-latency, high-bandwidth communications between cluster nodes. It was developed by the Oracle Corporation.
If the protocol is not being used, it is recommended that kernel module not be loaded, disabling the service to reduce the potential attack surface.
Edit or create a file in the /etc/modprobe.d/ directory ending in .conf
Example: vim /etc/modprobe.d/rds.conf
and add the following line:
install rds /bin/true
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.3.3_Ensure_RDS_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.145+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659381"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659381">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659381"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module rds is not loadable</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v rds</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659384"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659384">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659384"
check="none satisfy"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module rds is not loaded</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v rds</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The Transparent Inter-Process Communication (TIPC) protocol is designed to provide communication between cluster nodes.
If the protocol is not being used, it is recommended that kernel module not be loaded, disabling the service to reduce the potential attack surface.
Edit or create a file in the /etc/modprobe.d/ directory ending in .conf
Example: vim /etc/modprobe.d/tipc.conf
and add the following line:
install tipc /bin/true
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.3.4_Ensure_TIPC_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.145+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659390"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659390">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659390"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module tipc is not loadable</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v tipc</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>insmod /lib/modules/4.18.0-372.9.1.el8.x86_64/kernel/net/ipv4/udp_tunnel.ko.xz </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>insmod /lib/modules/4.18.0-372.9.1.el8.x86_64/kernel/net/ipv6/ip6_udp_tunnel.ko.xz </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659392"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659392">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659392"
check="none satisfy"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure kernel module tipc is not loaded</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>modprobe -n -v tipc</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>insmod /lib/modules/4.18.0-372.9.1.el8.x86_64/kernel/net/ipv4/udp_tunnel.ko.xz </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>insmod /lib/modules/4.18.0-372.9.1.el8.x86_64/kernel/net/ipv6/ip6_udp_tunnel.ko.xz </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>install /bin/true </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
A firewall Provides defense against external and internal threats by refusing unauthorized connections, to stop intrusion and provide a strong method of access control policy.
this section is intended only to ensure the resulting firewall rules are in place, not how they are configured.
In order to configure Firewall protection for your system, a Firewall software package needs to be installed.
A Firewall package should be selected. Most firewall configuration utilities operate as a front end to nftables or iptables.
A Firewall package is required for firewall management and configuration.
Run one of the following commands to install a Firewall package.
For firewalld:
# dnf install firewalld
For nftables:
# dnf install nftables
For iptables:
# dnf install iptables
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.1.1_Ensure_a_Firewall_package_is_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.145+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659455"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659455">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659455"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'firewalld' is installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>firewalld</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>noarch</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.9.3</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:0.9.3-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>firewalld-0:0.9.3-13.el8.noarch</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659460"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659460">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659460"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'nftables' is installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>25.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.9.3</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>1:0.9.3-25.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables-1:0.9.3-25.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659464"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659464">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659464"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'iptables' is installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>22.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>1.8.4</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:1.8.4-22.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables-0:1.8.4-22.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
firewalld (Dynamic Firewall Manager) provides a dynamically managed firewall with support for network/firewall “zones” to assign a level of trust to a network and its associated connections, interfaces or sources. It has support for IPv4, IPv6, Ethernet bridges and also for IPSet firewall settings. There is a separation of the runtime and permanent configuration options. It also provides an interface for services or applications to add iptables, ip6tables and ebtables rules directly. This interface can also be used by advanced users.
Note: In the v0.6.0 release, firewalld gained support for using nftables as a firewall back-end. In Red Hat Enterprise Linux 8 firewalld utilizes nftables by default. Guidance within this section assumes that nftables are being used as the back-end of firewalld
Ensure that the firewalld service is enabled to protect your system
firewalld (Dynamic Firewall Manager) tool provides a dynamically managed firewall. The tool enables network/firewall zones to define the trust level of network connections and/or interfaces. It has support both for IPv4 and IPv6 firewall settings. Also, it supports Ethernet bridges and allow you to separate between runtime and permanent configuration options. Finally, it supports an interface for services or applications to add firewall rules directly
Run the following command to enable and start firewalld
# systemctl --now enable firewalld
Impact:
Changing firewall settings while connected over network can result in being locked out of the system.
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.1_Ensure_firewalld_service_is_enabled_and_running"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.145+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659472"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659472">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659472"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'firewalld' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>firewalld</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>enabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659475"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659475">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659475"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'iptables' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659480"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659480">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659480"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'nftables' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>disabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
IPtables is an application that allows a system administrator to configure the IPv4 and IPv6 tables, chains and rules provided by the Linux kernel firewall.
IPtables is installed as a dependency with firewalld.
Running firewalld and IPtables concurrently may lead to conflict, therefore IPtables should be stopped and masked when using firewalld.
Run the following command to stop and mask iptables
systemctl --now mask iptables
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.2_Ensure_iptables_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.145+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659486"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659486">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659486"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'iptables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659489"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659489">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659489"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'firewalld' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>firewalld</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>noarch</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.9.3</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:0.9.3-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>firewalld-0:0.9.3-13.el8.noarch</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659493"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659493">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659493"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'iptables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>22.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>1.8.4</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:1.8.4-22.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables-0:1.8.4-22.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659497"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659497">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659497"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'firewalld' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>firewalld</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>enabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
nftables is a subsystem of the Linux kernel providing filtering and classification of network packets/datagrams/frames and is the successor to iptables.
nftables are installed as a dependency with firewalld.
Running firewalld and nftables concurrently may lead to conflict, therefore nftables should be stopped and masked when using firewalld.
Run the following command to mask and stop nftables
systemctl --now mask nftables
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.3_Ensure_nftables_is_not_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.146+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659501"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659501">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659501"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'nftables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>disabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659506"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659506">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659506"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'nftables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>25.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.9.3</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>1:0.9.3-25.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables-1:0.9.3-25.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659510"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659510">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659510"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'firewalld' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>firewalld</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>noarch</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.9.3</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:0.9.3-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>firewalld-0:0.9.3-13.el8.noarch</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659515"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659515">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659515"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'firewalld' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>firewalld</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>enabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
A firewall zone defines the trust level for a connection, interface or source address binding. This is a one to many relation, which means that a connection, interface or source can only be part of one zone, but a zone can be used for many network connections, interfaces and sources.
The default zone is the zone that is used for everything that is not explicitely bound/assigned to another zone.
That means that if there is no zone assigned to a connection, interface or source, only the default zone is used. The default zone is not always listed as being used for an interface or source as it will be used for it either way. This depends on the manager of the interfaces.
Connections handled by NetworkManager are listed as NetworkManager requests to add the zone binding for the interface used by the connection. Also interfaces under control of the network service are listed also because the service requests it.
Because the default zone is the zone that is used for everything that is not explicitly bound/assigned to another zone, it is important for the default zone to set
Run the following command to set the default zone:
# firewall-cmd --set-default-zone=<NAME_OF_ZONE>
Example:
# firewall-cmd --set-default-zone=public
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.2.4_Ensure_default_zone_is_set"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.146+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">https://firewalld.org/documentation</xccdf:ident>
<xccdf:ident system="http://cce.mitre.org">https://firewalld.org/documentation/man-pages/firewalld.zone</xccdf:ident>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659521"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659521">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659521"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/firewalld/firewalld.conf exists and matches pattern ^\s*DefaultZone=\S+</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/firewalld/firewalld.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/firewalld</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>firewalld.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*DefaultZone=\S+</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>DefaultZone=drop</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>DefaultZone=drop</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659524"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659524">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659524"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'firewalld' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>firewalld</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>noarch</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.9.3</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:0.9.3-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>firewalld-0:0.9.3-13.el8.noarch</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659528"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659528">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659528"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'firewalld' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>firewalld</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>enabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | https://firewalld.org/documentation |
| Published On: | |
| Last Modified On: | |
| CCE Information | |
|---|---|
| CCE-IDv5: | https://firewalld.org/documentation/man-pages/firewalld.zone |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
nftables is a subsystem of the Linux kernel providing filtering and classification of network packets/datagrams/frames and is the successor to iptables. The biggest change with the successor nftables is its simplicity. With iptables, we have to configure every single rule and use the syntax which can be compared with normal commands. With nftables, the simpler syntax, much like BPF (Berkely Packet Filter) means shorter lines and less repetition. Support for nftables should also be compiled into the kernel, together with the related nftables modules. Please ensure that your kernel supports nf_tables before choosing this option.
Note: This section broadly assumes starting with an empty nftables firewall ruleset (established by flushing the rules with nft flush ruleset). Remediation steps included only affect the live system, you will also need to configure your default firewall configuration to apply on boot. Configuration of a live systems firewall directly over a remote connection will often result in being locked out. It is advised to have a known good firewall configuration set to run on boot and to configure an entire firewall structure in a script that is then run and tested before saving to boot.
The following will implement the firewall rules of this section and open ICMP, IGMP, and port 22(ssh) from anywhere. Opening the ports for ICMP, IGMP, and port 22(ssh) needs to be updated in accordence with local site policy. Allow port 22(ssh) needs to be updated to only allow systems requiring ssh connectivity to connect, as per site policy.
Save the script bellow as /etc/nftables/nftables.rules
#!/sbin/nft -f
# This nftables.rules config should be saved as /etc/nftables/nftables.rules
# flush nftables rulesset
flush ruleset
# Load nftables ruleset
# nftables config with inet table named filter
table inet filter {
# Base chain for input hook named input (Filters inbound network packets)
chain input {
type filter hook input priority 0; policy drop;
# Ensure loopback traffic is configured
iif "lo" accept
ip saddr 127.0.0.0/8 counter packets 0 bytes 0 drop
ip6 saddr ::1 counter packets 0 bytes 0 drop
# Ensure established connections are configured
ip protocol tcp ct state established accept
ip protocol udp ct state established accept
ip protocol icmp ct state established accept
# Accept port 22(SSH) traffic from anywhere
tcp dport ssh accept
# Accept ICMP and IGMP from anywhere
icmpv6 type { destination-unreachable, packet-too-big, time-exceeded, parameter-problem,
mld-listener-query, mld-listener-report, mld-listener-done, nd-
router-solicit, nd-router-advert, nd-neighbor-solicit, nd-neighbor-advert, ind-neighbor-solicit,
ind-neighbor-advert, mld2-listener-report } accept
icmp type { destination-unreachable, router-advertisement, router-solicitation, time-exceeded,
parameter-problem } accept
ip protocol igmp accept
}
# Base chain for hook forward named forward (Filters forwarded network packets)
chain forward {
type filter hook forward priority 0; policy drop;
}
# Base chain for hook output named output (Filters outbount network packets)
chain output {
type filter hook output priority 0; policy drop;
# Ensure outbound and established connections are configured
ip protocol tcp ct state established,related,new accept
ip protocol udp ct state established,related,new accept
ip protocol icmp ct state established,related,new accept
}
}
Run the following command to load the file into nftables
# nft -f /etc/nftables/nftables.rules
All changes in the nftables subsections are temporary.
To make these changes permanent:
Run the following command to create the nftables.rules file
nft list ruleset > /etc/nftables/nftables.rules
Add the following line to /etc/sysconfig/nftables.conf
include "/etc/nftables/nftables.rules"
Tables hold chains. Each table only has one address family and only applies to packets of this family. Tables can have one of five families.
nftables doesn't have any default tables. Without a table being build, nftables will not filter network traffic.
Run the following command to create a table in nftables
# nft create table inet <table name>
Example:
# nft create table inet filter
Impact:
Adding rules to a running nftables can cause loss of connectivity to the system
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.2_Ensure_a_table_exists"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.146+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659505_var"/>
<xccdf:check-content-ref href="sce/nft_tables.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/nft_tables.sh"
href="sce/nft_tables.sh"
xccdf="pass"
exit-value="101">
<out>
<l>Passed: table ip filter</l>
<l>table ip6 filter</l>
<l>table bridge filter</l>
<l>table ip security</l>
<l>table ip raw</l>
<l>table ip mangle</l>
<l>table ip nat</l>
<l>table ip6 security</l>
<l>table ip6 raw</l>
<l>table ip6 mangle</l>
<l>table ip6 nat</l>
<l>table bridge nat</l>
<l>table inet firewalld</l>
<l>table ip firewalld</l>
<l>table ip6 firewalld</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/nft_tables.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Passed: table ip filter</li>
<li>table ip6 filter</li>
<li>table bridge filter</li>
<li>table ip security</li>
<li>table ip raw</li>
<li>table ip mangle</li>
<li>table ip nat</li>
<li>table ip6 security</li>
<li>table ip6 raw</li>
<li>table ip6 mangle</li>
<li>table ip6 nat</li>
<li>table bridge nat</li>
<li>table inet firewalld</li>
<li>table ip firewalld</li>
<li>table ip6 firewalld</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659509"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659509">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659509"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'nftables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>25.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.9.3</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>1:0.9.3-25.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables-1:0.9.3-25.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659514"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659514">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659514"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'nftables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>disabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
Chains are containers for rules. They exist in two kinds, base chains and regular chains. A base chain is an entry point for packets from the networking stack, a regular chain may be used as jump target and is used for better rule organization.
If a base chain doesn't exist with a hook for input, forward, and delete, packets that would flow through those chains will not be touched by nftables.
Run the following command to create the base chains:
# nft create chain inet <table name> <base chain name> { type filter hook <(input|forward|output)>
priority 0 \; }
Example:
# nft create chain inet filter input { type filter hook input priority 0 \; }
# nft create chain inet filter forward { type filter hook forward priority 0 \; }
# nft create chain inet filter output { type filter hook output priority 0 \; }
Impact:
if configuring nftables over ssh, creating a base chain with a policy of drop will cause loss of connectivity.
Ensure that a rule allowing ssh has been added to the base chain prior to setting the base chain's policy to drop
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.3_Ensure_base_chains_exist"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.146+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659518_var"/>
<xccdf:check-content-ref href="sce/nft_ruleset.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/nft_ruleset.sh"
href="sce/nft_ruleset.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/nft_ruleset.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659522_var"/>
<xccdf:check-content-ref href="sce/nft_ruleset.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/nft_ruleset.sh"
href="sce/nft_ruleset.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/nft_ruleset.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659526_var"/>
<xccdf:check-content-ref href="sce/nft_ruleset.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/nft_ruleset.sh"
href="sce/nft_ruleset.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/nft_ruleset.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659530"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659530">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659530"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'nftablles' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659535"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659535">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659535"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'nftables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>disabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
Configure the loopback interface to accept traffic. Configure all other interfaces to deny traffic to the loopback network
Loopback traffic is generated between processes on a machine and is typically critical to operation of the system. The loopback interface is the only place that loopback network traffic should be seen, all other interfaces should ignore traffic on this network as an anti-spoofing measure.
Run the following commands to implement the loopback rules:
# nft add rule inet filter input iif lo accept
# nft create rule inet filter input ip saddr 127.0.0.0/8 counter drop
# nft add rule inet filter input ip6 saddr ::1 counter drop
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.4_Ensure_loopback_traffic_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.146+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/19/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659542_var"/>
<xccdf:check-content-ref href="sce/nft_ruleset_basechain.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/nft_ruleset_basechain.sh"
href="sce/nft_ruleset_basechain.sh"
xccdf="fail"
exit-value="102">
<out>
<l>"^\s*iif\s+"lo"\s+accept" not found in nftable input basechain</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/nft_ruleset_basechain.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>"^\s*iif\s+"lo"\s+accept" not found in nftable input basechain</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659545_var"/>
<xccdf:check-content-ref href="sce/nft_ruleset_basechain.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/nft_ruleset_basechain.sh"
href="sce/nft_ruleset_basechain.sh"
xccdf="fail"
exit-value="102">
<out>
<l>"^\s*ip\s+saddr\s+127\.0\.0\.0\/8\s+counter\s+packets\s+0\s+bytes\s+0\s+drop" not found in nftable input basechain</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/nft_ruleset_basechain.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>"^\s*ip\s+saddr\s+127\.0\.0\.0\/8\s+counter\s+packets\s+0\s+bytes\s+0\s+drop" not found in nftable input basechain</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659548_var"/>
<xccdf:check-content-ref href="sce/nft_ruleset_basechain.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/nft_ruleset_basechain.sh"
href="sce/nft_ruleset_basechain.sh"
xccdf="fail"
exit-value="102">
<out>
<l>"^\s*ip6\s+saddr\s+\:\:1\s+counter\s+packets\s+0\s+bytes\s+0\s+drop" not found in nftable input basechain</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/nft_ruleset_basechain.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>"^\s*ip6\s+saddr\s+\:\:1\s+counter\s+packets\s+0\s+bytes\s+0\s+drop" not found in nftable input basechain</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659552"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659552">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659552"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named \boot\grub2\grubenv exists and matches pattern ^\s*kernelopts=(\S+\s+)*ipv6\.disable=1\s*(\S+\s*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659555"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659555">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659555"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'nftables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>25.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.9.3</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>1:0.9.3-25.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables-1:0.9.3-25.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659556"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659556">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659556"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'nftables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>disabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
| CIS Control Information | |
|---|---|
| Control: | Protect the organization's information, as well as its reputation, by developing and implementing an incident response infrastructure (e.g., plans, defined roles, training, communications, management oversight) for quickly discovering an attack and then effectively containing the damage, eradicating the attacker's presence, and restoring the integrity of the network and systems. |
| Subcontrol: | 19.4 |
| Label: | Devise Organization-wide Standards for Reporting Incidents |
| Description: | Devise organization-wide standards for the time required for system administrators and other workforce members to report anomalous events to the incident handling team, the mechanisms for such reporting, and the kind of information that should be included in the incident notification. |
Base chain policy is the default verdict that will be applied to packets reaching the end of the chain.
There are two policies: accept (Default) and drop. If the policy is set to accept , the firewall will accept any packet that is not configured to be denied and the packet will continue transversing the network stack.
It is easier to white list acceptable usage than to black list unacceptable usage.
Run the following command for the base chains with the input, forward, and output hooks to implement a default DROP policy:
# nft chain <table family> <table name> <chain name> { policy drop \; }
Example:
# nft chain inet filter input { policy drop \; }
# nft chain inet filter forward { policy drop \; }
# nft chain inet filter output { policy drop \; }
Impact:
if configuring nftables over ssh, creating a base chain with a policy of drop will cause loss of connectivity.
Ensure that a rule allowing ssh has been added to the base chain prior to setting the base chain's policy to drop
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.6_Ensure_default_deny_firewall_policy"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.147+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">Manual Page nft</xccdf:ident>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659482_var"/>
<xccdf:check-content-ref href="sce/nft_ruleset_drop.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/nft_ruleset_drop.sh"
href="sce/nft_ruleset_drop.sh"
xccdf="fail"
exit-value="102">
<out>
<l>"input" basechain does not have a default drop policy</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/nft_ruleset_drop.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>"input" basechain does not have a default drop policy</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659487_var"/>
<xccdf:check-content-ref href="sce/nft_ruleset_drop.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/nft_ruleset_drop.sh"
href="sce/nft_ruleset_drop.sh"
xccdf="fail"
exit-value="102">
<out>
<l>"forward" basechain does not have a default drop policy</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/nft_ruleset_drop.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>"forward" basechain does not have a default drop policy</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659492_var"/>
<xccdf:check-content-ref href="sce/nft_ruleset_drop.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/nft_ruleset_drop.sh"
href="sce/nft_ruleset_drop.sh"
xccdf="fail"
exit-value="102">
<out>
<l>"output" basechain does not have a default drop policy</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/nft_ruleset_drop.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>"output" basechain does not have a default drop policy</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659496"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659496">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659496"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'nftables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>25.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.9.3</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>1:0.9.3-25.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables-1:0.9.3-25.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659500"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659500">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659500"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'nftables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>disabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | Manual Page nft |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
The nftables service allows for the loading of nftables rulesets during boot, or starting of the nftables service
The nftables service restores the nftables rules from the rules files referenced in the /etc/sysconfig/nftables.conf file durring boot or the starting of the nftables service
Run the following command to enable the nftables service:
# systemctl --now enable nftables
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.7_Ensure_nftables_service_is_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.147+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659557"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659557">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659557"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'nftables' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>disabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659558"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659558">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659558"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'firewalld' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>firewalld</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>enabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659559"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659559">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659559"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'iptables' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
nftables is a subsystem of the Linux kernel providing filtering and classification of network packets/datagrams/frames.
The nftables service reads the /etc/sysconfig/nftables.conf file for a nftables file or files to include in the nftables ruleset.
A nftables ruleset containing the input, forward, and output base chains allow network traffic to be filtered.
Changes made to nftables ruleset only affect the live system, you will also need to configure the nftables ruleset to apply on boot.
Edit the /etc/sysconfig/nftables.conf file and un-comment or add a line with include <Absolute path to nftables rules file> for each nftables file you want included in the nftables ruleset on boot
example:
# vi /etc/sysconfig/nftables.conf
Add the line:
include "/etc/nftables/nftables.rules"
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.3.8_Ensure_nftables_rules_are_permanent"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.147+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659560"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659560">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659560"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/sysconfig/nftables.conf exists and matches pattern ^\s*include</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659561"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659561">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659561"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'nftables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>25.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>0.9.3</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>1:0.9.3-25.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>nftables-1:0.9.3-25.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659562"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659562">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659562"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'nftables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>nftables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>disabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
IPtables is an application that allows a system administrator to configure the IPv4 and IPv6 tables, chains and rules provided by the Linux kernel firewall. While several methods of configuration exist this section is intended only to ensure the resulting IPtables rules are in place, not how they are configured. If IPv6 is in use in your environment, similar settings should be applied to the IP6tables as well.
Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. Several different tables may be defined. Each table contains a number of built-in chains and may also contain user-defined chains.
Each chain is a list of rules which can match a set of packets. Each rule specifies what to do with a packet that matches. This is called a 'target', which may be a jump to a user-defined chain in the same table.
Note: This section broadly assumes starting with an empty IPtables firewall ruleset (established by flushing the rules with iptables -F). Remediation steps included only affect the live system, you will also need to configure your default firewall configuration to apply on boot. Configuration of a live systems firewall directly over a remote connection will often result in being locked out. It is advised to have a known good firewall configuration set to run on boot and to configure an entire firewall structure in a script that is then run and tested before saving to boot. The following script will implement the firewall rules of this section and open port 22(ssh) from anywhere. This needs to be updated to only allow systems requiring ssh connectivity to connect as per site policy.
#!/bin/bash
# Flush IPtables rules
iptables -F
# Ensure default deny firewall policy
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
# Ensure loopback traffic is configured
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
iptables -A INPUT -s 127.0.0.0/8 -j DROP
# Ensure outbound and established connections are configured
iptables -A OUTPUT -p tcp -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p udp -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -p icmp -m state --state NEW,ESTABLISHED -j ACCEPT
iptables -A INPUT -p tcp -m state --state ESTABLISHED -j ACCEPT
iptables -A INPUT -p udp -m state --state ESTABLISHED -j ACCEPT
iptables -A INPUT -p icmp -m state --state ESTABLISHED -j ACCEPT
# Open inbound ssh(tcp port 22) connections
iptables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT
A default deny all policy on connections ensures that any unconfigured network usage will be rejected.
With a default accept policy the firewall will accept any packet that is not configured to be denied. It is easier to white list acceptable usage than to black list unacceptable usage.
Run the following commands to implement a default DROP policy:
# iptables -P INPUT DROP
# iptables -P OUTPUT DROP
# iptables -P FORWARD DROP
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.1_Ensure_default_deny_firewall_policy"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.147+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659503_var"/>
<xccdf:check-content-ref href="sce/iptables_chk.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/iptables_chk.sh"
href="sce/iptables_chk.sh"
xccdf="fail"
exit-value="102">
<out>
<l>Missing iptables rule.</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/iptables_chk.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Missing iptables rule.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659507_var"/>
<xccdf:check-content-ref href="sce/iptables_chk.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/iptables_chk.sh"
href="sce/iptables_chk.sh"
xccdf="fail"
exit-value="102">
<out>
<l>Missing iptables rule.</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/iptables_chk.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Missing iptables rule.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659513_var"/>
<xccdf:check-content-ref href="sce/iptables_chk.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/iptables_chk.sh"
href="sce/iptables_chk.sh"
xccdf="fail"
exit-value="102">
<out>
<l>Missing iptables rule.</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/iptables_chk.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Missing iptables rule.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659516"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659516">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659516"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'iptables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659519"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659519">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659519"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'iptables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>22.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>1.8.4</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:1.8.4-22.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables-0:1.8.4-22.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
Configure the loopback interface to accept traffic. Configure all other interfaces to deny traffic to the loopback network (127.0.0.0/8).
Loopback traffic is generated between processes on machine and is typically critical to operation of the system. The loopback interface is the only place that loopback network (127.0.0.0/8) traffic should be seen, all other interfaces should ignore traffic on this network as an anti-spoofing measure.
Run the following commands to implement the loopback rules:
# iptables -A INPUT -i lo -j ACCEPT
# iptables -A OUTPUT -o lo -j ACCEPT
# iptables -A INPUT -s 127.0.0.0/8 -j DROP
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.2_Ensure_loopback_traffic_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.147+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659527_var"/>
<xccdf:check-content-ref href="sce/iptables_input.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/iptables_input.sh"
href="sce/iptables_input.sh"
xccdf="fail"
exit-value="102">
<out>
<l>Missing iptables rule.</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/iptables_input.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Missing iptables rule.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659531_var"/>
<xccdf:check-content-ref href="sce/iptables_input.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/iptables_input.sh"
href="sce/iptables_input.sh"
xccdf="fail"
exit-value="102">
<out>
<l>Missing iptables rule.</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/iptables_input.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Missing iptables rule.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659534_var"/>
<xccdf:check-content-ref href="sce/iptables_output.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/iptables_output.sh"
href="sce/iptables_output.sh"
xccdf="fail"
exit-value="102">
<out>
<l>Missing iptables rule.</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/iptables_output.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Missing iptables rule.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659538"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659538">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659538"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'iptables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659540"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659540">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659540"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'iptables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>22.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>1.8.4</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:1.8.4-22.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables-0:1.8.4-22.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
Any ports that have been opened on non-loopback addresses need firewall rules to govern traffic.
Without a firewall rule configured for open ports default firewall policy will drop all packets to these ports.
For each port identified in the audit which does not have a firewall rule establish a proper rule for accepting inbound connections:
# iptables -A INPUT -p <protocol> --dport <port> -m state --state NEW -j ACCEPT
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.1.4_Ensure_firewall_rules_exist_for_all_open_ports"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.147+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659549"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659549">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659549"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Firewall Rule Exists For All Open Ports"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>iptables -L INPUT -v -n</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>\s+dpt:9090\s+state\s+NEW\s*$</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:6595492"
check="all"
check_existence="none_exist">
<table class="evidence-sep evidence-multi" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Firewall Rule Exists For All Open Ports"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Inetlisteningserver Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Protocol</td>
<td>String</td>
<td>Exists</td>
<td>tcp6</td>
</tr>
<tr>
<td>Local Address</td>
<td>Ipv6 Address</td>
<td>Exists</td>
<td>::</td>
</tr>
<tr>
<td>Local Port</td>
<td>Int</td>
<td>Exists</td>
<td>9090</td>
</tr>
<tr>
<td>Local Full Address</td>
<td>String</td>
<td>Exists</td>
<td>:::9090</td>
</tr>
<tr>
<td>Program Name</td>
<td>String</td>
<td>Exists</td>
<td>systemd</td>
</tr>
<tr>
<td>Foreign Address</td>
<td>Ipv6 Address</td>
<td>Exists</td>
<td>::</td>
</tr>
<tr>
<td>Foreign Port</td>
<td>Int</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Foreign Full Address</td>
<td>String</td>
<td>Exists</td>
<td>:::*</td>
</tr>
<tr>
<td>Pid</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Inetlisteningserver Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Protocol</td>
<td>String</td>
<td>Exists</td>
<td>tcp6</td>
</tr>
<tr>
<td>Local Address</td>
<td>Ipv6 Address</td>
<td>Exists</td>
<td>::</td>
</tr>
<tr>
<td>Local Port</td>
<td>Int</td>
<td>Exists</td>
<td>22</td>
</tr>
<tr>
<td>Local Full Address</td>
<td>String</td>
<td>Exists</td>
<td>:::22</td>
</tr>
<tr>
<td>Program Name</td>
<td>String</td>
<td>Exists</td>
<td>sshd</td>
</tr>
<tr>
<td>Foreign Address</td>
<td>Ipv6 Address</td>
<td>Exists</td>
<td>::</td>
</tr>
<tr>
<td>Foreign Port</td>
<td>Int</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Foreign Full Address</td>
<td>String</td>
<td>Exists</td>
<td>:::*</td>
</tr>
<tr>
<td>Pid</td>
<td>Int</td>
<td>Exists</td>
<td>15417</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Inetlisteningserver Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Protocol</td>
<td>String</td>
<td>Exists</td>
<td>raw6</td>
</tr>
<tr>
<td>Local Address</td>
<td>Ipv6 Address</td>
<td>Exists</td>
<td>::</td>
</tr>
<tr>
<td>Local Port</td>
<td>Int</td>
<td>Exists</td>
<td>58</td>
</tr>
<tr>
<td>Local Full Address</td>
<td>String</td>
<td>Exists</td>
<td>:::58</td>
</tr>
<tr>
<td>Program Name</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Foreign Address</td>
<td>Ipv6 Address</td>
<td>Exists</td>
<td>::</td>
</tr>
<tr>
<td>Foreign Port</td>
<td>Int</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Foreign Full Address</td>
<td>String</td>
<td>Exists</td>
<td>:::*</td>
</tr>
<tr>
<td>Pid</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Inetlisteningserver Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Protocol</td>
<td>String</td>
<td>Exists</td>
<td>tcp</td>
</tr>
<tr>
<td>Local Address</td>
<td>Ipv4 Address</td>
<td>Exists</td>
<td>0.0.0.0</td>
</tr>
<tr>
<td>Local Port</td>
<td>Int</td>
<td>Exists</td>
<td>22</td>
</tr>
<tr>
<td>Local Full Address</td>
<td>String</td>
<td>Exists</td>
<td>0.0.0.0:22</td>
</tr>
<tr>
<td>Program Name</td>
<td>String</td>
<td>Exists</td>
<td>sshd</td>
</tr>
<tr>
<td>Foreign Address</td>
<td>Ipv4 Address</td>
<td>Exists</td>
<td>0.0.0.0</td>
</tr>
<tr>
<td>Foreign Port</td>
<td>Int</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Foreign Full Address</td>
<td>String</td>
<td>Exists</td>
<td>0.0.0.0:*</td>
</tr>
<tr>
<td>Pid</td>
<td>Int</td>
<td>Exists</td>
<td>15417</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659551"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659551">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659551"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'iptables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659553"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659553">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659553"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'iptables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>22.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>1.8.4</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:1.8.4-22.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables-0:1.8.4-22.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
Ip6tables is used to set up, maintain, and inspect the tables of IPv6 packet filter rules in the Linux kernel. Several different tables may be defined. Each table contains a number of built-in chains and may also contain user-defined chains. Each chain is a list of rules which can match a set of packets. Each rule specifies what to do with a packet that matches. This is called a `target', which may be a jump to a user-defined chain in the same table.
If IPv6 in enabled on the system, the ip6tables should be configured.
Note: This section broadly assumes starting with an empty ip6tables firewall ruleset (established by flushing the rules with ip6tables -F). Remediation steps included only affect the live system, you will also need to configure your default firewall configuration to apply on boot. Configuration of a live systems firewall directly over a remote connection will often result in being locked out. It is advised to have a known good firewall configuration set to run on boot and to configure an entire firewall structure in a script that is then run and tested before saving to boot. The following script will implement the firewall rules of this section and open port 22(ssh) from anywhere. This needs to be updated to only allow systems requiring ssh connectivity to connect as per site policy.
#!/bin/bash
# Flush ip6tables rules
ip6tables -F
# Ensure default deny firewall policy
ip6tables -P INPUT DROP
ip6tables -P OUTPUT DROP
ip6tables -P FORWARD DROP
# Ensure loopback traffic is configured
ip6tables -A INPUT -i lo -j ACCEPT
ip6tables -A OUTPUT -o lo -j ACCEPT
ip6tables -A INPUT -s ::1 -j DROP
# Ensure outbound and established connections are configured
ip6tables -A OUTPUT -p tcp -m state --state NEW,ESTABLISHED -j ACCEPT
ip6tables -A OUTPUT -p udp -m state --state NEW,ESTABLISHED -j ACCEPT
ip6tables -A OUTPUT -p icmp -m state --state NEW,ESTABLISHED -j ACCEPT
ip6tables -A INPUT -p tcp -m state --state ESTABLISHED -j ACCEPT
ip6tables -A INPUT -p udp -m state --state ESTABLISHED -j ACCEPT
ip6tables -A INPUT -p icmp -m state --state ESTABLISHED -j ACCEPT
# Open inbound ssh(tcp port 22) connections
ip6tables -A INPUT -p tcp --dport 22 -m state --state NEW -j ACCEPT
A default deny all policy on connections ensures that any unconfigured network usage will be rejected.
With a default accept policy the firewall will accept any packet that is not configured to be denied. It is easier to white list acceptable usage than to black list unacceptable usage.
Run the following commands to implement a default DROP policy:
# ip6tables -P INPUT DROP
# ip6tables -P OUTPUT DROP
# ip6tables -P FORWARD DROP
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.1_Ensure_IPv6_default_deny_firewall_policy"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.147+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659504"
value-id="xccdf_org.cisecurity.benchmarks_value_659504_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659504"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659504">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659504"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'ip6tables -L' output Pattern Match '^Chain INPUT \(policy (DROP|REJECT)\)$' (string)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>ip6tables -L</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain INPUT (policy ACCEPT)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>target prot opt source destination </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain FORWARD (policy ACCEPT)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>target prot opt source destination </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain OUTPUT (policy ACCEPT)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>target prot opt source destination </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659508"
value-id="xccdf_org.cisecurity.benchmarks_value_659508_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659508"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659508">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659508"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'ip6tables -L' output Pattern Match '^Chain FORWARD \(policy (DROP|REJECT)\)$' (string)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>ip6tables -L</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain INPUT (policy ACCEPT)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>target prot opt source destination </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain FORWARD (policy ACCEPT)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>target prot opt source destination </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain OUTPUT (policy ACCEPT)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>target prot opt source destination </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659512"
value-id="xccdf_org.cisecurity.benchmarks_value_659512_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659512"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659512">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659512"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'ip6tables -L' output Pattern Match '^Chain OUTPUT \(policy (DROP|REJECT)\)$' (string)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>ip6tables -L</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain INPUT (policy ACCEPT)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>target prot opt source destination </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain FORWARD (policy ACCEPT)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>target prot opt source destination </td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain OUTPUT (policy ACCEPT)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>target prot opt source destination </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659517"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659517">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659517"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /boot/grub2/grubenv exists and matches pattern ^\s*kernelopts=(\S+\s+)*ipv6\.disable=1\b\s*(\S+\s*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659520"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659520">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659520"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'iptables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659525"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659525">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659525"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'iptables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>22.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>1.8.4</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:1.8.4-22.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables-0:1.8.4-22.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
Configure the loopback interface to accept traffic. Configure all other interfaces to deny traffic to the loopback network (::1).
Loopback traffic is generated between processes on machine and is typically critical to operation of the system. The loopback interface is the only place that loopback network (::1) traffic should be seen, all other interfaces should ignore traffic on this network as an anti-spoofing measure.
Run the following commands to implement the loopback rules:
# ip6tables -A INPUT -i lo -j ACCEPT
# ip6tables -A OUTPUT -o lo -j ACCEPT
# ip6tables -A INPUT -s ::1 -j DROP
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.4.4.2.2_Ensure_IPv6_loopback_traffic_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659532"
value-id="xccdf_org.cisecurity.benchmarks_value_659532_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659532"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659532">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659532"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'ip6tables -L INPUT -v -n' output Pattern Match '^\s*\S+\s+\S+\s+ACCEPT\s+all\s+lo\s+\*\s+\:\:\/0\s+\:\:\/0\s*$' (string)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>ip6tables -L INPUT -v -n</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain INPUT (policy ACCEPT 12 packets, 864 bytes)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td> pkts bytes target prot opt in out source destination </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659536"
value-id="xccdf_org.cisecurity.benchmarks_value_659536_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659536"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659536">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659536"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'ip6tables -L INPUT -v -n' output Pattern Match '^\s*\S+\s+\S+\s+DROP\s+all\s+\*\s+\*\s+\:\:1\s+\:\:\/0\s*$' (string)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>ip6tables -L INPUT -v -n</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain INPUT (policy ACCEPT 12 packets, 864 bytes)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td> pkts bytes target prot opt in out source destination </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659539"
value-id="xccdf_org.cisecurity.benchmarks_value_659539_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659539"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659539">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659539"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'ip6tables -L OUTPUT -v -n' output Pattern Match '^\s*\S+\s+\S+\s+ACCEPT\s+all\s+\*\s+lo\s+\:\:\/0\s+\:\:\/0\s*$' (string)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>ip6tables -L OUTPUT -v -n</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Chain OUTPUT (policy ACCEPT 163 packets, 11484 bytes)</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td> pkts bytes target prot opt in out source destination </td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659544"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659544">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659544"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /boot/grub2/grubenv exists and matches pattern ^\s*kernelopts=(\S+\s+)*ipv6\.disable=1\b\s*(\S+\s*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659547"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659547">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659547"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'iptables' is disabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659550"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659550">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659550"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'iptables' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>22.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>1.8.4</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:1.8.4-22.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>iptables-0:1.8.4-22.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.4 |
| Label: | Apply Host-Based Firewalls or Port Filtering |
| Description: | Apply host-based firewalls or port filtering tools on end systems, with a default-deny rule that drops all traffic except those services and ports that are explicitly allowed. |
Wireless networking is used when wired networks are unavailable. Red Hat Enterprise Linux contains a wireless tool kit to allow system administrators to configure and use wireless networks.
If wireless is not to be used, wireless devices can be disabled to reduce the potential attack surface.
Run the following command to disable any wireless interfaces:
# nmcli radio all off
Disable any wireless interfaces in your network configuration.
Impact:
Many if not all laptop workstations and some desktop workstations will connect via wireless requiring these interfaces be enabled.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.5_Ensure_wireless_interfaces_are_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/15/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/15/subcontrol/5"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">nmcli(1) - Linux man page</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/wireless_check.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/wireless_check.sh"
href="sce/wireless_check.sh"
xccdf="pass"
exit-value="101">
<out>
<l>Wireless is disabled</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/wireless_check.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Wireless is disabled</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | nmcli(1) - Linux man page |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the security use of wireless local area networks (WLANs), access points, and wireless client systems. |
| Subcontrol: | 15.4 |
| Label: | Disable Wireless Access on Devices if Not Required |
| Description: | Disable wireless access on devices that do not have a business purpose for wireless access. |
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the security use of wireless local area networks (WLANs), access points, and wireless client systems. |
| Subcontrol: | 15.5 |
| Label: | Limit Wireless Access on Client Devices |
| Description: | Configure wireless access on client machines that do have an essential wireless business purpose, to allow access only to authorized wireless networks and to restrict access to other wireless networks. |
Although IPv6 has many advantages over IPv4, not all organizations have IPv6 or dual stack configurations implemented.
If IPv6 or dual stack is not to be used, it is recommended that IPv6 be disabled to reduce the attack surface of the system.
Edit /etc/default/grub and add ipv6.disable=1 to the GRUB_CMDLINE_LINUX parameters:
GRUB_CMDLINE_LINUX="ipv6.disable=1"
Run the following command to update the grub2 configuration:
# grub2-mkconfig –o /boot/grub2/grub.cfg
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_3.6_Disable_IPv6"
role="unscored"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="0.0">
<xccdf:result>informational</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659138"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659138">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659138"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /boot/grub2/grubenv exists and matches pattern ^\s*kernelopts=(\S+\s+)*ipv6\.disable=1\b\s*(\S+\s*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The items in this section describe how to configure logging, log monitoring, and auditing, using tools included in most distributions.
It is recommended that rsyslog be used for logging (with logwatch providing summarization) and auditd be used for auditing (with aureport providing summarization) to automatically monitor logs for intrusion attempts and other suspicious system behavior.
In addition to the local log files created by the steps in this section, it is also recommended that sites collect copies of their system logs on a secure, centralized log server via an encrypted connection. Not only does centralized logging help sites correlate events that may be occurring on multiple systems, but having a second copy of the system log information may be critical after a system compromise where the attacker has modified the local log files on the affected system(s). If a log correlation system is deployed, configure it to process the logs described in this section.
Because it is often necessary to correlate log information from many different systems (particularly after a security incident) it is recommended that the time be synchronized among systems and devices connected to the local network. The standard Internet protocol for time synchronization is the Network Time Protocol (NTP), which is supported by most network-ready devices. Reference < http://chrony.tuxfamily.org/ > manual page for more information on configuring chrony.
It is important that all logs described in this section be monitored on a regular basis and correlated to determine trends. A seemingly innocuous entry in one log could be more significant when compared to an entry in another log.
Note on log file permissions: There really isn't a "one size fits all" solution to the permissions on log files. Many sites utilize group permissions so that administrators who are in a defined security group, such as "wheel" do not have to elevate privileges to root in order to read log files. Also, if a third party log aggregation tool is used, it may need to have group permissions to read the log files, which is preferable to having it run setuid to root. Therefore, there are two remediation and audit steps for log file permissions. One is for systems that do not have a secured group method implemented that only permits root to read the log files ( root:root 600 ). The other is for sites that do have such a setup and are designated as root:securegrp 640 where securegrp is the defined security group (in some cases wheel ).
System auditing, through auditd , allows system administrators to monitor their systems such that they can detect unauthorized access or modification of data. By default, auditd will audit SELinux AVC denials, system logins, account modifications, and authentication events. Events will be logged to /var/log/audit/audit.log . The recording of these events will use a modest amount of disk space on a system. If significantly more events are captured, additional on system or off system storage may need to be allocated.
The recommendations in this section implement an audit policy that produces large quantities of logged data. In some environments it can be challenging to store or process these logs and as such they are marked as Level 2 for both Servers and Workstations.
Note: For 64 bit systems that have arch as a rule parameter, you will need two rules: one for 64 bit and one for 32 bit.
Note: Systems may have been customized to change the default UID_MIN. To confirm the UID_MIN for your system, run the following command:
awk '/^\s*UID_MIN/{print $2}' /etc/login.defs
If your systems' UID_MIN is not 1000, replace audit>=1000 with audit>=<UID_MIN for your system> in the Audit and Remediation procedures.
Note: Once all configuration changes have been made to /etc/audit/rules.d/audit.rules , the auditd configuration must be reloaded with the following command:
# service auditd reload
The capturing of system events provides system administrators with information to allow them to determine if unauthorized access to their system is occurring.
auditd is the userspace component to the Linux Auditing System. It's responsible for writing audit records to the disk
The capturing of system events provides system administrators with information to allow them to determine if unauthorized access to their system is occurring.
Run the following command to Install auditd
# dnf install audit audit-libs
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.1_Ensure_auditd_is_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:723438"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:723438">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:723438"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'audit' is installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>audit</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>2.el8.2</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>3.0.7</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:3.0.7-2.el8.2</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>audit-0:3.0.7-2.el8.2.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:723439"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:723439">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:723439"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'audit-libs' is installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>audit-libs</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>2.el8.2</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>3.0.7</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:3.0.7-2.el8.2</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>audit-libs-0:3.0.7-2.el8.2.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.2 |
| Label: | Activate audit logging |
| Description: | Ensure that local logging has been enabled on all systems and networking devices. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
Turn on the auditd daemon to record system events.
The capturing of system events provides system administrators with information to allow them to determine if unauthorized access to their system is occurring.
Run the following command to enable auditd :
# systemctl --now enable auditd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.2_Ensure_auditd_service_is_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659541"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659541">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659541"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'auditd' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>auditd</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>enabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.2 |
| Label: | Activate audit logging |
| Description: | Ensure that local logging has been enabled on all systems and networking devices. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
Configure grub2 so that processes that are capable of being audited can be audited even if they start up prior to auditd startup.
Audit events need to be captured on processes that start up prior to auditd , so that potential malicious activity cannot go undetected.
Edit /etc/default/grub and add audit=1 to GRUB_CMDLINE_LINUX :
GRUB_CMDLINE_LINUX="audit=1"
Run the following command to update the grub2 configuration:
# grub2-mkconfig -o /boot/grub2/grub.cfg
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.3_Ensure_auditing_for_processes_that_start_prior_to_auditd_is_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659546"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659546">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659546"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /boot/grub2/grubenv exists and matches pattern ^\s*kernelopts=(\S+\s+)*audit=1\b\s*(\S+\s*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/boot/grub2/grubenv</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/boot/grub2</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>grubenv</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*kernelopts=(\S+\s+)*audit=1\b\s*(\S+\s*)*$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>kernelopts=root=/dev/mapper/rhel-root ro crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet audit=1 audit_backlog_limit=8192
boot_success=1
boot_indeterminate=0
#################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>kernelopts=root=/dev/mapper/rhel-root ro crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet audit=1 audit_backlog_limit=8192
boot_success=1
boot_indeterminate=0
#################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>quiet </td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>#################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.2 |
| Label: | Activate audit logging |
| Description: | Ensure that local logging has been enabled on all systems and networking devices. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
The backlog limit has a default setting of 64
during boot if audit=1, then the backlog will hold 64 records. If more that 64 records are created during boot, auditd records will be lost and potential malicious activity could go undetected.
Edit /etc/default/grub and add audit_backlog_limit=<BACKLOG SIZE> to GRUB_CMDLINE_LINUX:
Example:
GRUB_CMDLINE_LINUX="audit_backlog_limit=8192"
Run the following command to update the grub2 configuration:
# grub2-mkconfig -o /boot/grub2/grub.cfg
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.1.4_Ensure_audit_backlog_limit_is_sufficient"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659554"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659554">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659554"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /boot/grub2/grubenv exists and matches pattern ^\s*kernelopts=(\S+\s+)*audit_backlog_limit=\S+\b\s*(\S+\s*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/boot/grub2/grubenv</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/boot/grub2</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>grubenv</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*kernelopts=(\S+\s+)*audit_backlog_limit=\S+\b\s*(\S+\s*)*$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>kernelopts=root=/dev/mapper/rhel-root ro crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet audit=1 audit_backlog_limit=8192
boot_success=1
boot_indeterminate=0
#################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>kernelopts=root=/dev/mapper/rhel-root ro crashkernel=auto resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet audit=1 audit_backlog_limit=8192
boot_success=1
boot_indeterminate=0
#################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>audit=1 </td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>#################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.2 |
| Label: | Activate audit logging |
| Description: | Ensure that local logging has been enabled on all systems and networking devices. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
When auditing, it is important to carefully configure the storage requirements for audit logs. By default, auditd will max out the log files at 5MB and retain only 4 copies of them. Older versions will be deleted. It is possible on a system that the 20 MBs of audit logs may fill up the system causing loss of audit data. While the recommendations here provide guidance, check your site policy for audit storage requirements.
Configure the maximum size of the audit log file. Once the log reaches the maximum size, it will be rotated and a new log file will be started.
It is important that an appropriate size is determined for log files so that they do not impact the system and audit data is not lost.
Set the following parameter in /etc/audit/auditd.conf in accordance with site policy:
max_log_file = <MB>
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.2.1_Ensure_audit_log_storage_size_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659523"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659523">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659523"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/audit/auditd.conf exists and matches pattern ^\s*max_log_file\s*=\s*\S+\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/auditd.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>auditd.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*max_log_file\s*=\s*\S+\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>max_log_file = 6</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>max_log_file = 6</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.4 |
| Label: | Ensure adequate storage for logs |
| Description: | Ensure that all systems that store logs have adequate storage space for the logs generated. |
The max_log_file_action setting determines how to handle the audit log file reaching the max file size. A value of keep_logs will rotate the logs but never delete old logs.
In high security contexts, the benefits of maintaining a long audit history exceed the cost of storing the audit history.
Set the following parameter in /etc/audit/auditd.conf:
max_log_file_action = keep_logs
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.2.2_Ensure_audit_logs_are_not_automatically_deleted"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659543"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659543">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659543"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/audit/auditd.conf exists and matches pattern ^\s*max_log_file_action\s*=\s*keep_logs\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/auditd.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>auditd.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*max_log_file_action\s*=\s*keep_logs\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>max_log_file_action = keep_logs</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>max_log_file_action = keep_logs</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.4 |
| Label: | Ensure adequate storage for logs |
| Description: | Ensure that all systems that store logs have adequate storage space for the logs generated. |
The auditd daemon can be configured to halt the system when the audit logs are full.
In high security contexts, the risk of detecting unauthorized access or nonrepudiation exceeds the benefit of the system's availability.
Set the following parameters in /etc/audit/auditd.conf:
space_left_action = email
action_mail_acct = root
admin_space_left_action = halt
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.2.3_Ensure_system_is_disabled_when_audit_logs_are_full"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659529"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659529">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659529"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/audit/auditd.conf exists and matches pattern ^\s*space_left_action\s*=\s*email\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/auditd.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>auditd.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*space_left_action\s*=\s*email\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>space_left_action = email</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>space_left_action = email</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659533"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659533">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659533"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/audit/auditd.conf exists and matches pattern ^\s*action_mail_acct\s*=\s*root\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/auditd.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>auditd.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*action_mail_acct\s*=\s*root\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>action_mail_acct = root</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>action_mail_acct = root</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659537"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659537">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659537"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/audit/auditd.conf exists and matches pattern ^\s*admin_space_left_action\s*=\s*halt\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/auditd.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>auditd.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*admin_space_left_action\s*=\s*halt\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>admin_space_left_action = halt</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>admin_space_left_action = halt</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
Monitor scope changes for system administrators. If the system has been properly configured to force system administrators to log in as themselves first and then use the sudo command to execute privileged commands, it is possible to monitor changes in scope. The file /etc/sudoers will be written to when the file or its attributes have changed. The audit records will be tagged with the identifier "scope."
Changes in the /etc/sudoers file can indicate that an unauthorized change has been made to scope of system administrator activity.
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/scope.rules
and add the following lines:
-w /etc/sudoers -p wa -k scope
-w /etc/sudoers.d/ -p wa -k scope
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.3_Ensure_changes_to_system_administration_scope_sudoers_is_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/8"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659428"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659428">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659428"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/sudoers -p wa -k scope'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/sudoers\s+-p\s+wa\s+-k\s+scope *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/sudoers -p wa -k scope</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/sudoers -p wa -k scope</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659431"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659431">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659431"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/sudoers.d(/)* -p wa -k scope'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/sudoers.d(/)*\s+-p\s+wa\s+-k\s+scope *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/sudoers.d/ -p wa -k scope</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/sudoers.d/ -p wa -k scope</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>/</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659433_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/sudoers -p wa -k scope" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/sudoers -p wa -k scope" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659439_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^-w /etc/sudoers.d(/)* -p wa -k scope$</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^-w /etc/sudoers.d(/)* -p wa -k scope$</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.8 |
| Label: | Log and Alert on Changes to Administrative Group Membership |
| Description: | Configure systems to issue a log entry and alert when an account is added to or removed from any group assigned administrative privileges. |
Monitor login and logout events. The parameters below track changes to files associated with login/logout events. The file /var/log/faillog tracks failed events from login. The file /var/log/lastlog maintain records of the last time a user successfully logged in.
Monitoring login/logout events could provide a system administrator with information associated with brute force attacks against user logins.
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/audit.rules
and add the following lines:
-w /var/log/faillog -p wa -k logins
-w /var/log/lastlog -p wa -k logins
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.4_Ensure_login_and_logout_events_are_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/9"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/13"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659259"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659259">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659259"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /var/log/faillog -p wa -k logins'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/var/log/faillog\s+-p\s+wa\s+-k\s+logins *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /var/log/faillog -p wa -k logins</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /var/log/faillog -p wa -k logins</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659262"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659262">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659262"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /var/log/lastlog -p wa -k logins'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/var/log/lastlog\s+-p\s+wa\s+-k\s+logins *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /var/log/lastlog -p wa -k logins</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /var/log/lastlog -p wa -k logins</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659264_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /var/log/faillog -p wa -k logins" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /var/log/faillog -p wa -k logins" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659266_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /var/log/lastlog -p wa -k logins" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /var/log/lastlog -p wa -k logins" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.9 |
| Label: | Log and Alert on Unsuccessful Administrative Account Login |
| Description: | Configure systems to issue a log entry and alert on unsuccessful logins to an administrative account. |
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.13 |
| Label: | Alert on Account Login Behavior Deviation |
| Description: | Alert when users deviate from normal login behavior, such as time-of-day, workstation location and duration. |
Monitor session initiation events. The parameters in this section track changes to the files associated with session events. The file /var/run/utmp tracks all currently logged in users. All audit records will be tagged with the identifier "session." The /var/log/wtmp file tracks logins, logouts, shutdown, and reboot events. The file /var/log/btmp keeps track of failed login attempts and can be read by entering the command /usr/bin/last -f /var/log/btmp . All audit records will be tagged with the identifier "logins."
Monitoring these files for changes could alert a system administrator to logins occurring at unusual hours, which could indicate intruder activity (i.e. a user logging in at a time when they do not normally log in).
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/logins.rules
and add the following lines:
-w /var/run/utmp -p wa -k session
-w /var/log/wtmp -p wa -k logins
-w /var/log/btmp -p wa -k logins
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.5_Ensure_session_initiation_information_is_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.148+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/9"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/13"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659270"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659270">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659270"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /var/run/utmp -p wa -k session'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/var/run/utmp\s+-p\s+wa\s+-k\s+session *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /var/run/utmp -p wa -k session</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /var/run/utmp -p wa -k session</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659274"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659274">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659274"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /var/log/wtmp -p wa -k logins'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/var/log/wtmp\s+-p\s+wa\s+-k\s+logins *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /var/log/wtmp -p wa -k logins</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /var/log/wtmp -p wa -k logins</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659276"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659276">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659276"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /var/log/btmp -p wa -k logins'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/var/log/btmp\s+-p\s+wa\s+-k\s+logins *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /var/log/btmp -p wa -k logins</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /var/log/btmp -p wa -k logins</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659277_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /var/run/utmp -p wa -k session" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /var/run/utmp -p wa -k session" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659281_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^-w /var/log/wtmp -p wa -k logins$</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^-w /var/log/wtmp -p wa -k logins$</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659284_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^-w /var/log/btmp -p wa -k logins$</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^-w /var/log/btmp -p wa -k logins$</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.9 |
| Label: | Log and Alert on Unsuccessful Administrative Account Login |
| Description: | Configure systems to issue a log entry and alert on unsuccessful logins to an administrative account. |
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.13 |
| Label: | Alert on Account Login Behavior Deviation |
| Description: | Alert when users deviate from normal login behavior, such as time-of-day, workstation location and duration. |
Capture events where the system date and/or time has been modified. The parameters in this section are set to determine if the adjtimex (tune kernel clock), settimeofday (Set time, using timeval and timezone structures) stime (using seconds since 1/1/1970) or clock_settime (allows for the setting of several internal clocks and timers) system calls have been executed and always write an audit record to the /var/log/audit.log file upon exit, tagging the records with the identifier "time-change"
Unexpected changes in system date and/or time could be a sign of malicious activity on the system.
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/time-change.rules
and add the following lines:
-a always,exit -F arch=b64 -S adjtimex -S settimeofday -k time-change
-a always,exit -F arch=b32 -S adjtimex -S settimeofday -S stime -k time-change
-a always,exit -F arch=b64 -S clock_settime -k time-change
-a always,exit -F arch=b32 -S clock_settime -k time-change
-w /etc/localtime -p wa -k time-change
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.6_Ensure_events_that_modify_date_and_time_information_are_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.149+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/5"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659147"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659147">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659147"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '^-a always,exit -F arch=b32 ((-S (stime,settimeofday,adjtimex|stime,adjtimex,settimeofday|settimeofday,stime,adjtimex|settimeofday,adjtimex,stime|adjtimex,stime,settimeofdat|adjtimex,settimeofday,stime))|(-S (adjtimex|settimeo</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^^-a\s+always,exit\s+-F\s+arch=b32\s+((-S\s+(stime,settimeofday,adjtimex|stime,adjtimex,settimeofday|settimeofday,stime,adjtimex|settimeofday,adjtimex,stime|adjtimex,stime,settimeofdat|adjtimex,settimeofday,stime))|(-S\s+(adjtimex|settimeofday|stime)\s+-S\s+(adjtimex|settimeofday|stime)\s+-S\s+(adjtimex|settimeofday|stime)))\s+(-F\s+key=time-change|-k\s+time-change)\s*$ *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b32 -S adjtimex -S settimeofday -S stime -k time-change</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b32 -S adjtimex -S settimeofday -S stime -k time-change</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>-S adjtimex -S settimeofday -S stime</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>-S adjtimex -S settimeofday -S stime</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>adjtimex</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>settimeofday</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>stime</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>-k time-change</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659149"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659149">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659149"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '^-a always,exit -F arch=b32 -S clock_settime (-F key=time-change|-k time-change)\s*$'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^^-a\s+always,exit\s+-F\s+arch=b32\s+-S\s+clock_settime\s+(-F\s+key=time-change|-k\s+time-change)\s*$ *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b32 -S clock_settime -k time-change</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b32 -S clock_settime -k time-change</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>-k time-change</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659150"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659150">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659150"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '^\s*-w /etc/localtime -p wa -k time-change\s*$'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^^\s*-w\s+/etc/localtime\s+-p\s+wa\s+-k\s+time-change\s*$ *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/localtime -p wa -k time-change</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/localtime -p wa -k time-change</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659152"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659152">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659152"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '^-a always,exit -F arch=b64 (-S adjtimex,settimeofday|-S settimeofday,adjtimex|-S adjtimex -S settimeofday|-S settimeofday -S adjtimex) (-F key=time-change|-k time-change)\s*$'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^^-a\s+always,exit\s+-F\s+arch=b64\s+(-S\s+adjtimex,settimeofday|-S\s+settimeofday,adjtimex|-S\s+adjtimex\s+-S\s+settimeofday|-S\s+settimeofday\s+-S\s+adjtimex)\s+(-F\s+key=time-change|-k\s+time-change)\s*$ *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b64 -S adjtimex -S settimeofday -k time-change</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b64 -S adjtimex -S settimeofday -k time-change</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>-S adjtimex -S settimeofday</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>-k time-change</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659154"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659154">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659154"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '^-a always,exit -F arch=b64 -S clock_settime (-F key=time-change|-k time-change)\s*$'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^^-a\s+always,exit\s+-F\s+arch=b64\s+-S\s+clock_settime\s+(-F\s+key=time-change|-k\s+time-change)\s*$ *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b64 -S clock_settime -k time-change</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b64 -S clock_settime -k time-change</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>-k time-change</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659156_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/localtime -p wa -k time-change" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/localtime -p wa -k time-change" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659158_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b64 -S adjtimex,settimeofday -F key=time-change" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b64 -S adjtimex,settimeofday -F key=time-change" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659160_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b32 -S stime,settimeofday,adjtimex -F key=time-change" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b32 -S stime,settimeofday,adjtimex -F key=time-change" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659162_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b64 -S clock_settime -F key=time-change" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b64 -S clock_settime -F key=time-change" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659165_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b32 -S clock_settime -F key=time-change" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b32 -S clock_settime -F key=time-change" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.5 |
| Label: | Implement Automated Configuration Monitoring Systems |
| Description: | Utilize a Security Content Automation Protocol (SCAP) compliant configuration monitoring system to verify all security configuration elements, catalog approved exceptions, and alert when unauthorized changes occur. |
Monitor SELinux/AppArmor mandatory access controls. The parameters below monitor any write access (potential additional, deletion or modification of files in the directory) or attribute changes to the /etc/selinux or /etc/apparmor and /etc/apparmor.d directories.
Changes to files in these directories could indicate that an unauthorized user is attempting to modify access controls and change security contexts, leading to a compromise of the system.
On systems using SELinux Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/MAC-policy.rules
and add the following lines:
-w /etc/selinux/ -p wa -k MAC-policy
-w /usr/share/selinux/ -p wa -k MAC-policy
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.7_Ensure_events_that_modify_the_systems_Mandatory_Access_Controls_are_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.149+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/5"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659234"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659234">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659234"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/selinux(/)* -p wa -k MAC-policy'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/selinux(/)*\s+-p\s+wa\s+-k\s+MAC-policy *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/selinux/ -p wa -k MAC-policy</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/selinux/ -p wa -k MAC-policy</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>/</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659239"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659239">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659239"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /usr/share/selinux(/)* -p wa -k MAC-policy'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/usr/share/selinux(/)*\s+-p\s+wa\s+-k\s+MAC-policy *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /usr/share/selinux/ -p wa -k MAC-policy</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /usr/share/selinux/ -p wa -k MAC-policy</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>/</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659246_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/selinux -p wa -k MAC-policy" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/selinux -p wa -k MAC-policy" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659247_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^-w /usr/share/selinux(/)* -p wa -k MAC-policy$</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^-w /usr/share/selinux(/)* -p wa -k MAC-policy$</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.5 |
| Label: | Implement Automated Configuration Monitoring Systems |
| Description: | Utilize a Security Content Automation Protocol (SCAP) compliant configuration monitoring system to verify all security configuration elements, catalog approved exceptions, and alert when unauthorized changes occur. |
Record changes to network environment files or system calls. The below parameters monitor the sethostname (set the systems host name) or setdomainname (set the systems domainname) system calls, and write an audit event on system call exit. The other parameters monitor the /etc/issue and /etc/issue.net files (messages displayed pre-login), /etc/hosts (file containing host names and associated IP addresses) and /etc/sysconfig/network (directory containing network interface scripts and configurations) files.
Monitoring sethostname and setdomainname will identify potential unauthorized changes to host and domainname of a system. The changing of these names could potentially break security parameters that are set based on those names. The /etc/hosts file is monitored for changes in the file that can indicate an unauthorized intruder is trying to change machine associations with IP addresses and trick users and processes into connecting to unintended machines. Monitoring /etc/issue and /etc/issue.net is important, as intruders could put disinformation into those files and trick users into providing information to the intruder. Monitoring /etc/sysconfig/network is important as it can show if network interfaces or scripts are being modified in a way that can lead to the machine becoming unavailable or compromised. All audit records will be tagged with the identifier "system-locale."
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/system-locale.rules
and add the following lines:
-a always,exit -F arch=b64 -S sethostname -S setdomainname -k system-locale
-a always,exit -F arch=b32 -S sethostname -S setdomainname -k system-locale
-w /etc/issue -p wa -k system-locale
-w /etc/issue.net -p wa -k system-locale
-w /etc/hosts -p wa -k system-locale
-w /etc/sysconfig/network -p wa -k system-locale
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.8_Ensure_events_that_modify_the_systems_network_environment_are_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.149+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/5"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659195"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659195">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659195"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-a always,exit -F arch=b32 -S sethostname -S setdomainname -k system-locale'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-a\s+always,exit\s+-F\s+arch=b32\s+-S\s+sethostname\s+-S\s+setdomainname\s+-k\s+system-locale *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b32 -S sethostname -S setdomainname -k system-locale</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b32 -S sethostname -S setdomainname -k system-locale</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659197"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659197">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659197"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/issue -p wa -k system-locale'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/issue\s+-p\s+wa\s+-k\s+system-locale *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/issue -p wa -k system-locale</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/issue -p wa -k system-locale</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659199"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659199">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659199"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/issue.net -p wa -k system-locale'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/issue.net\s+-p\s+wa\s+-k\s+system-locale *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/issue.net -p wa -k system-locale</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/issue.net -p wa -k system-locale</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659201"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659201">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659201"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/hosts -p wa -k system-locale'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/hosts\s+-p\s+wa\s+-k\s+system-locale *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/hosts -p wa -k system-locale</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/hosts -p wa -k system-locale</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659205"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659205">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659205"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/sysconfig/network -p wa -k system-locale'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/sysconfig/network\s+-p\s+wa\s+-k\s+system-locale *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/sysconfig/network -p wa -k system-locale</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/sysconfig/network -p wa -k system-locale</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659206_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/sysconfig/network -p wa -k system-locale" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/sysconfig/network -p wa -k system-locale" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659212_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b64 -S sethostname,setdomainname -F key=system-locale" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b64 -S sethostname,setdomainname -F key=system-locale" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659215_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b32 -S sethostname,setdomainname -F key=system-locale" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b32 -S sethostname,setdomainname -F key=system-locale" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659219_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/hosts -p wa -k system-locale" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/hosts -p wa -k system-locale" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659223_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/issue -p wa -k system-locale" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/issue -p wa -k system-locale" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659228_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/issue.net -p wa -k system-locale" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/issue.net -p wa -k system-locale" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.5 |
| Label: | Implement Automated Configuration Monitoring Systems |
| Description: | Utilize a Security Content Automation Protocol (SCAP) compliant configuration monitoring system to verify all security configuration elements, catalog approved exceptions, and alert when unauthorized changes occur. |
Monitor changes to file permissions, attributes, ownership and group. The parameters in this section track changes for system calls that affect file permissions and attributes. The chmod , fchmod and fchmodat system calls affect the permissions associated with a file. The chown , fchown , fchownat and lchown system calls affect owner and group attributes on a file. The setxattr , lsetxattr , fsetxattr (set extended file attributes) and removexattr , lremovexattr , fremovexattr (remove extended file attributes) control extended file attributes. In all cases, an audit record will only be written for non-system user ids (auid >= 1000) and will ignore Daemon events (auid = 4294967295). All audit records will be tagged with the identifier "perm_mod."
Note: Systems may have been customized to change the default UID_MIN. To confirm the UID_MIN for your system, run the following command:
awk '/^\s*UID_MIN/{print $2}' /etc/login.defs
If your systems' UID_MIN is not 1000 , replace audit>=1000 with audit>=<UID_MIN for your system> in the Audit and Remediation procedures.
Monitoring for changes in file attributes could alert a system administrator to activity that could indicate intruder activity or policy violation.
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/perm_mod.rules
and add the following lines:
-a always,exit -F arch=b64 -S chmod -S fchmod -S fchmodat -F auid>=1000 -F auid!=4294967295
-k perm_mod
-a always,exit -F arch=b32 -S chmod -S fchmod -S fchmodat -F auid>=1000 -F auid!=4294967295
-k perm_mod
-a always,exit -F arch=b64 -S chown -S fchown -S fchownat -S lchown -F auid>=1000
-F auid!=4294967295 -k perm_mod
-a always,exit -F arch=b32 -S chown -S fchown -S fchownat -S lchown -F auid>=1000
-F auid!=4294967295 -k perm_mod
-a always,exit -F arch=b64 -S setxattr -S lsetxattr -S fsetxattr -S removexattr -S
lremovexattr -S fremovexattr -F auid>=1000 -F auid!=4294967295 -k perm_mod
-a always,exit -F arch=b32 -S setxattr -S lsetxattr -S fsetxattr -S removexattr -S
lremovexattr -S fremovexattr -F auid>=1000 -F auid!=4294967295 -k perm_mod
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.9_Ensure_discretionary_access_control_permission_modification_events_are_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.149+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/5"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659288_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat))|(-S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat))|(-S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659291_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat))|(-S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat))|(-S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659293_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat))|(-S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat))|(-S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659296_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat))|(-S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat))|(-S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659299_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))|(-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))|(-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659302_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))|(-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))|(-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$ in any /etc/audit/rules.d/*.rules file</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659305_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat))|(-S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat))|(-S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659310_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat))|(-S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat),(chmod|fchmod|fchmodat))|(-S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat) -S (chmod|fchmod|fchmodat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659316_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat))|(-S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat))|(-S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659324_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat))|(-S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat),(chown|fchown|lchown|fchownat))|(-S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat) -S (chown|fchown|lchown|fchownat))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659331_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))|(-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b64 ((-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))|(-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659338_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="fail"
exit-value="102">
<out>
<l>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))|(-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>No auditd rules were found matching the regular expression ^\s*-a always,exit -F arch=b32 ((-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr),(setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))|(-S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr) -S (setxattr|lsetxattr|fsetxattr|removexattr|lremovexattr|fremovexattr))) -F auid>=$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs) -F auid!=(-1|4294967295) (-k perm_mod|-F key=perm_mod)\s*$</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.5 |
| Label: | Implement Automated Configuration Monitoring Systems |
| Description: | Utilize a Security Content Automation Protocol (SCAP) compliant configuration monitoring system to verify all security configuration elements, catalog approved exceptions, and alert when unauthorized changes occur. |
Monitor for unsuccessful attempts to access files. The parameters below are associated with system calls that control creation ( creat ), opening ( open , openat ) and truncation ( truncate , ftruncate ) of files. An audit log record will only be written if the user is a non-privileged user (auid > = 1000), is not a Daemon event (auid=4294967295) and if the system call returned EACCES (permission denied to the file) or EPERM (some other permanent error associated with the specific system call). All audit records will be tagged with the identifier "access."
Note: Systems may have been customized to change the default UID_MIN. To confirm the UID_MIN for your system, run the following command:
awk '/^\s*UID_MIN/{print $2}' /etc/login.defs
If your systems' UID_MIN is not 1000 , replace audit>=1000 with audit>=<UID_MIN for your system> in the Audit and Remediation procedures.
Failed attempts to open, create or truncate files could be an indication that an individual or process is trying to gain unauthorized access to the system.
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/access.rules
and add the following lines:
-a always,exit -F arch=b64 -S creat -S open -S openat -S truncate -S ftruncate -F
exit=-EACCES -F auid>=1000 -F auid!=4294967295 -k access
-a always,exit -F arch=b32 -S creat -S open -S openat -S truncate -S ftruncate -F
exit=-EACCES -F auid>=1000 -F auid!=4294967295 -k access
-a always,exit -F arch=b64 -S creat -S open -S openat -S truncate -S ftruncate -F
exit=-EPERM -F auid>=1000 -F auid!=4294967295 -k access
-a always,exit -F arch=b32 -S creat -S open -S openat -S truncate -S ftruncate -F
exit=-EPERM -F auid>=1000 -F auid!=4294967295 -k access
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.10_Ensure_unsuccessful_unauthorized_file_access_attempts_are_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.150+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/9"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659345_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: -a always,exit -F arch=b64 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EACCES -F auid>=1000 -F auid!=4294967295 -k access exists in /etc/audit/rules.d/CIS.rules</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: -a always,exit -F arch=b64 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EACCES -F auid>=1000 -F auid!=4294967295 -k access exists in /etc/audit/rules.d/CIS.rules</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659349_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: -a always,exit -F arch=b32 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EACCES -F auid>=1000 -F auid!=4294967295 -k access exists in /etc/audit/rules.d/CIS.rules</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: -a always,exit -F arch=b32 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EACCES -F auid>=1000 -F auid!=4294967295 -k access exists in /etc/audit/rules.d/CIS.rules</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659353_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: -a always,exit -F arch=b64 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EPERM -F auid>=1000 -F auid!=4294967295 -k access exists in /etc/audit/rules.d/CIS.rules</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: -a always,exit -F arch=b64 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EPERM -F auid>=1000 -F auid!=4294967295 -k access exists in /etc/audit/rules.d/CIS.rules</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659357_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: -a always,exit -F arch=b32 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EPERM -F auid>=1000 -F auid!=4294967295 -k access exists in /etc/audit/rules.d/CIS.rules</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: -a always,exit -F arch=b32 -S creat -S open -S openat -S truncate -S ftruncate -F exit=-EPERM -F auid>=1000 -F auid!=4294967295 -k access exists in /etc/audit/rules.d/CIS.rules</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659361_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b64 -S open,truncate,ftruncate,creat,openat -F exit=-EACCES -F auid>=1000 -F auid!=-1 -F key=access" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b64 -S open,truncate,ftruncate,creat,openat -F exit=-EACCES -F auid>=1000 -F auid!=-1 -F key=access" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659366_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b32 -S open,creat,truncate,ftruncate,openat -F exit=-EACCES -F auid>=1000 -F auid!=-1 -F key=access" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b32 -S open,creat,truncate,ftruncate,openat -F exit=-EACCES -F auid>=1000 -F auid!=-1 -F key=access" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659371_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b64 -S open,truncate,ftruncate,creat,openat -F exit=-EPERM -F auid>=1000 -F auid!=-1 -F key=access" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b64 -S open,truncate,ftruncate,creat,openat -F exit=-EPERM -F auid>=1000 -F auid!=-1 -F key=access" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659378_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b32 -S open,creat,truncate,ftruncate,openat -F exit=-EPERM -F auid>=1000 -F auid!=-1 -F key=access" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b32 -S open,creat,truncate,ftruncate,openat -F exit=-EPERM -F auid>=1000 -F auid!=-1 -F key=access" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.9 |
| Label: | Enforce Detail Logging for Access or Changes to Sensitive Data |
| Description: | Enforce detailed audit logging for access to sensitive data or changes to sensitive data (utilizing tools such as File Integrity Monitoring or Security Information and Event Monitoring). |
Record events affecting the group , passwd (user IDs), shadow and gshadow (passwords) or /etc/security/opasswd (old passwords, based on remember parameter in the PAM configuration) files. The parameters in this section will watch the files to see if they have been opened for write or have had attribute changes (e.g. permissions) and tag them with the identifier "identity" in the audit log file.
Unexpected changes to these files could be an indication that the system has been compromised and that an unauthorized user is attempting to hide their activities or compromise additional accounts.
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/identity.rules
and add the following lines:
-w /etc/group -p wa -k identity
-w /etc/passwd -p wa -k identity
-w /etc/gshadow -p wa -k identity
-w /etc/shadow -p wa -k identity
-w /etc/security/opasswd -p wa -k identity
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.11_Ensure_events_that_modify_usergroup_information_are_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.150+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/8"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659169"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659169">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659169"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/group -p wa -k identity'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/group\s+-p\s+wa\s+-k\s+identity *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/group -p wa -k identity</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/group -p wa -k identity</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659171"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659171">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659171"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/passwd -p wa -k identity'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/passwd\s+-p\s+wa\s+-k\s+identity *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/passwd -p wa -k identity</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/passwd -p wa -k identity</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659173"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659173">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659173"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/gshadow -p wa -k identity'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/gshadow\s+-p\s+wa\s+-k\s+identity *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/gshadow -p wa -k identity</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/gshadow -p wa -k identity</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659175"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659175">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659175"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/shadow -p wa -k identity'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/shadow\s+-p\s+wa\s+-k\s+identity *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/shadow -p wa -k identity</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/shadow -p wa -k identity</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659178"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659178">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659178"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /etc/security/opasswd -p wa -k identity'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/etc/security/opasswd\s+-p\s+wa\s+-k\s+identity *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/security/opasswd -p wa -k identity</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /etc/security/opasswd -p wa -k identity</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659181_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/group -p wa -k identity" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/group -p wa -k identity" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659183_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/security/opasswd -p wa -k identity" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/security/opasswd -p wa -k identity" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659185_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/passwd -p wa -k identity" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/passwd -p wa -k identity" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659189_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/gshadow -p wa -k identity" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/gshadow -p wa -k identity" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659192_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /etc/shadow -p wa -k identity" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /etc/shadow -p wa -k identity" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.8 |
| Label: | Log and Alert on Changes to Administrative Group Membership |
| Description: | Configure systems to issue a log entry and alert when an account is added to or removed from any group assigned administrative privileges. |
Monitor the use of the mount system call. The mount (and umount ) system call controls the mounting and unmounting of file systems. The parameters below configure the system to create an audit record when the mount system call is used by a non-privileged user
It is highly unusual for a non privileged user to mount file systems to the system. While tracking mount commands gives the system administrator evidence that external media may have been mounted (based on a review of the source of the mount and confirming it's an external media type), it does not conclusively indicate that data was exported to the media. System administrators who wish to determine if data were exported, would also have to track successful open , creat and truncate system calls requiring write access to a file under the mount point of the external media file system. This could give a fair indication that a write occurred. The only way to truly prove it, would be to track successful writes to the external media. Tracking write system calls could quickly fill up the audit log and is not recommended. Recommendations on configuration options to track data export to media is beyond the scope of this document.
Note: Systems may have been customized to change the default UID_MIN. To confirm the UID_MIN for your system, run the following command:
awk '/^\s*UID_MIN/{print $2}' /etc/login.defs
If your systems' UID_MIN is not 1000 , replace audit>=1000 with audit>=<UID_MIN for your system> in the Audit and Remediation procedures.
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/mounts.rules
and add the following lines:
-a always,exit -F arch=b64 -S mount -F auid>=1000 -F auid!=4294967295 -k mounts
-a always,exit -F arch=b32 -S mount -F auid>=1000 -F auid!=4294967295 -k mounts
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.12_Ensure_successful_file_system_mounts_are_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.150+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659395_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: -a always,exit -F arch=b64 -S mount -F auid>=1000 -F auid!=4294967295 -k mounts</l>
<l>-a always,exit -F arch=b64 -S mount -F auid>=1000 -F auid!=4294967295 -k mounts exists in /etc/audit/rules.d/CIS.rules</l>
<l>/etc/audit/rules.d/mounts.rules</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: -a always,exit -F arch=b64 -S mount -F auid>=1000 -F auid!=4294967295 -k mounts</li>
<li>-a always,exit -F arch=b64 -S mount -F auid>=1000 -F auid!=4294967295 -k mounts exists in /etc/audit/rules.d/CIS.rules</li>
<li>/etc/audit/rules.d/mounts.rules</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659397_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: -a always,exit -F arch=b32 -S mount -F auid>=1000 -F auid!=4294967295 -k mounts exists in /etc/audit/rules.d/CIS.rules</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: -a always,exit -F arch=b32 -S mount -F auid>=1000 -F auid!=4294967295 -k mounts exists in /etc/audit/rules.d/CIS.rules</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659399_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b64 -S mount -F auid>=1000 -F auid!=-1 -F key=mounts" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b64 -S mount -F auid>=1000 -F auid!=-1 -F key=mounts" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659403_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b32 -S mount -F auid>=1000 -F auid!=-1 -F key=mounts" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b32 -S mount -F auid>=1000 -F auid!=-1 -F key=mounts" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Monitor privileged programs (those that have the setuid and/or setgid bit set on execution) to determine if unprivileged users are running these commands.
Execution of privileged commands by non-privileged users could be an indication of someone trying to gain unauthorized access to the system.
To remediate this issue, the system administrator will have to execute a find command to locate all the privileged programs and then add an audit line for each one of them. The audit parameters associated with this are as follows: -F path=" $1 " - will populate each file name found through the find command and processed by awk. -F perm=x - will write an audit record if the file is executed. -F auid>=1000 - will write a record if the user executing the command is not a privileged user. -F auid!= 4294967295 - will ignore Daemon events
All audit records should be tagged with the identifier "privileged".
Run the following command replacing with a list of partitions where programs can be executed from on your system:
# find <partition> -xdev \( -perm -4000 -o -perm -2000 \) -type f | awk '{print "-a
always,exit -F path=" $1 " -F perm=x -F auid>='"$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs)"'
-F auid!=4294967295 -k privileged" }'
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules and add all resulting lines to the file.
Example:
# find <partition> -xdev \( -perm -4000 -o -perm -2000 \) -type f | awk '{print "-a
always,exit -F path=" $1 " -F perm=x -F auid>='"$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs)"'
-F auid!=4294967295 -k privileged" }' >> /etc/audit/rules.d/privileged.rules
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.13_Ensure_use_of_privileged_commands_is_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.150+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/auditd_privilieged_commands_rules_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_privilieged_commands_rules_file.sh"
href="sce/auditd_privilieged_commands_rules_file.sh"
xccdf="fail"
exit-value="102">
<out>
<l>Missing auditd rules.</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_privilieged_commands_rules_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Missing auditd rules.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/auditd_privilieged_commands.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_privilieged_commands.sh"
href="sce/auditd_privilieged_commands.sh"
xccdf="fail"
exit-value="102">
<out>
<l>Missing auditd rules.</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_privilieged_commands.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Missing auditd rules.</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Monitor the use of system calls associated with the deletion or renaming of files and file attributes. This configuration statement sets up monitoring for the unlink (remove a file), unlinkat (remove a file attribute), rename (rename a file) and renameat (rename a file attribute) system calls and tags them with the identifier "delete".
Note: Systems may have been customized to change the default UID_MIN. To confirm the UID_MIN for your system, run the following command:
awk '/^\s*UID_MIN/{print $2}' /etc/login.defs
If your systems' UID_MIN is not 1000 , replace audit>=1000 with audit>=<UID_MIN for your system> in the Audit and Remediation procedures.
Monitoring these calls from non-privileged users could provide a system administrator with evidence that inappropriate removal of files and file attributes associated with protected files is occurring. While this audit option will look at all events, system administrators will want to look for specific privileged files that are being deleted or altered.
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/delete.rules
and add the following lines:
-a always,exit -F arch=b64 -S unlink -S unlinkat -S rename -S renameat -F auid>=1000
-F auid!=4294967295 -k delete
-a always,exit -F arch=b32 -S unlink -S unlinkat -S rename -S renameat -F auid>=1000
-F auid!=4294967295 -k delete
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.14_Ensure_file_deletion_events_by_users_are_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.151+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/13"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659408_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: -a always,exit -F arch=b64 -S unlink -S unlinkat -S rename -S renameat -F auid>=1000 -F auid!=4294967295 -k delete exists in /etc/audit/rules.d/CIS.rules</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: -a always,exit -F arch=b64 -S unlink -S unlinkat -S rename -S renameat -F auid>=1000 -F auid!=4294967295 -k delete exists in /etc/audit/rules.d/CIS.rules</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659413_var"/>
<xccdf:check-content-ref href="sce/auditd_uid_file.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_uid_file.sh"
href="sce/auditd_uid_file.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: -a always,exit -F arch=b32 -S unlink -S unlinkat -S rename -S renameat -F auid>=1000 -F auid!=4294967295 -k delete exists in /etc/audit/rules.d/CIS.rules</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_uid_file.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: -a always,exit -F arch=b32 -S unlink -S unlinkat -S rename -S renameat -F auid>=1000 -F auid!=4294967295 -k delete exists in /etc/audit/rules.d/CIS.rules</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659415_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b64 -S rename,unlink,unlinkat,renameat -F auid>=1000 -F auid!=-1 -F key=delete" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b64 -S rename,unlink,unlinkat,renameat -F auid>=1000 -F auid!=-1 -F key=delete" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659419_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b32 -S unlink,rename,unlinkat,renameat -F auid>=1000 -F auid!=-1 -F key=delete" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b32 -S unlink,rename,unlinkat,renameat -F auid>=1000 -F auid!=-1 -F key=delete" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to prevent data exfiltration, mitigate the effects of exfiltrated data, and ensure the privacy and integrity of sensitive information. |
Monitor the loading and unloading of kernel modules. The programs insmod (install a kernel module), rmmod (remove a kernel module), and modprobe (a more sophisticated program to load and unload modules, as well as some other features) control loading and unloading of modules. The init_module (load a module) and delete_module (delete a module) system calls control loading and unloading of modules. Any execution of the loading and unloading module programs and system calls will trigger an audit record with an identifier of "modules".
Monitoring the use of insmod , rmmod and modprobe could provide system administrators with evidence that an unauthorized user loaded or unloaded a kernel module, possibly compromising the security of the system. Monitoring of the init_module and delete_module system calls would reflect an unauthorized user attempting to use a different program to load and unload modules.
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules
Example: vi /etc/audit/rules.d/modules.rules
and add the following lines:
-w /sbin/insmod -p x -k modules
-w /sbin/rmmod -p x -k modules
-w /sbin/modprobe -p x -k modules
-a always,exit -F arch=b64 -S init_module -S delete_module -k modules
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.15_Ensure_kernel_module_loading_and_unloading_is_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659461"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659461">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659461"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /sbin/insmod -p x -k modules'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/sbin/insmod\s+-p\s+x\s+-k\s+modules *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /sbin/insmod -p x -k modules</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /sbin/insmod -p x -k modules</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659466"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659466">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659466"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /sbin/rmmod -p x -k modules'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/sbin/rmmod\s+-p\s+x\s+-k\s+modules *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /sbin/rmmod -p x -k modules</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /sbin/rmmod -p x -k modules</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659470"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659470">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659470"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-w /sbin/modprobe -p x -k modules'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-w\s+/sbin/modprobe\s+-p\s+x\s+-k\s+modules *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-w /sbin/modprobe -p x -k modules</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-w /sbin/modprobe -p x -k modules</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659473"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659473">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659473"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '^\s*-a always,exit -F arch=b64 ((-S (init_module|delete_module),(init_module|delete_module))|(-S (init_module|delete_module) -S (init_module|delete_module))) (-k modules|-F key=modules)\s*$'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^^\s*-a\s+always,exit\s+-F\s+arch=b64\s+((-S\s+(init_module|delete_module),(init_module|delete_module))|(-S\s+(init_module|delete_module)\s+-S\s+(init_module|delete_module)))\s+(-k\s+modules|-F\s+key=modules)\s*$ *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b64 -S init_module -S delete_module -k modules</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-a always,exit -F arch=b64 -S init_module -S delete_module -k modules</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>-S init_module -S delete_module</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>-S init_module -S delete_module</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>init_module</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>delete_module</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>-k modules</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659483_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-a always,exit -F arch=b64 -S init_module,delete_module -F key=modules" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-a always,exit -F arch=b64 -S init_module,delete_module -F key=modules" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659491_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /sbin/insmod -p x -k modules" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /sbin/insmod -p x -k modules" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659498_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /sbin/rmmod -p x -k modules" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /sbin/rmmod -p x -k modules" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659502_var"/>
<xccdf:check-content-ref href="sce/auditd.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd.sh"
href="sce/auditd.sh"
xccdf="pass"
exit-value="101">
<out>
<l>audit rule: "-w /sbin/modprobe -p x -k modules" exists in the running auditd config</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>audit rule: "-w /sbin/modprobe -p x -k modules" exists in the running auditd config</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Monitor the sudo log file. If the system has been properly configured to disable the use of the su command and force all administrators to have to log in first and then use sudo to execute privileged commands, then all administrator commands will be logged to /var/log/sudo.log . Any time a command is executed, an audit event will be triggered as the /var/log/sudo.log file will be opened for write and the executed administration command will be written to the log.
Changes in /var/log/sudo.log indicate that an administrator has executed a command or the log file itself has been tampered with. Administrators will want to correlate the events written to the audit trail with the records written to /var/log/sudo.log to verify if unauthorized commands have been executed.
Edit or create a file in the /etc/audit/rules.d/ directory ending in .rules and add the following line:
-w <Path to sudo logfile> -p wa -k actions
Example: vi /etc/audit/rules.d/audit.rules
and add the following line:
-w /var/log/sudo.log -p wa -k actions
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.16_Ensure_system_administrator_actions_sudolog_are_collected"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/9"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/auditd_sudo_logfile.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/auditd_sudo_logfile.sh"
href="sce/auditd_sudo_logfile.sh"
xccdf="pass"
exit-value="101">
<out>
<l>Audit rule "-w /var/log/sudo.log -p wa -k actions" exists in the running auditd config</l>
<l>Audit rule "-w /var/log/sudo.log -p wa -k actions</l>
<l>-w /var/log/sudo.log -p wa -k actions" exists in: "/etc/audit/rules.d/audit.rules</l>
<l>/etc/audit/rules.d/CIS.rules"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/auditd_sudo_logfile.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>Audit rule "-w /var/log/sudo.log -p wa -k actions" exists in the running auditd config</li>
<li>Audit rule "-w /var/log/sudo.log -p wa -k actions</li>
<li>-w /var/log/sudo.log -p wa -k actions" exists in: "/etc/audit/rules.d/audit.rules</li>
<li>/etc/audit/rules.d/CIS.rules"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.9 |
| Label: | Log and Alert on Unsuccessful Administrative Account Login |
| Description: | Configure systems to issue a log entry and alert on unsuccessful logins to an administrative account. |
Set system audit so that audit rules cannot be modified with auditctl . Setting the flag "-e 2" forces audit to be put in immutable mode. Audit changes can only be made on system reboot.
In immutable mode, unauthorized users cannot execute changes to the audit system to potentially hide malicious activity and then put the audit rules back. Users would most likely notice a system reboot and that could alert administrators of an attempt to make unauthorized audit changes.
Edit or create the file /etc/audit/rules.d/99-finalize.rules and add the line
-e 2
at the end of the file
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.1.17_Ensure_the_audit_configuration_is_immutable"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659454"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659454">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659454"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure auditd rules include '-e 2'</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit/audit.rules</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.rules</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^-e\s+2 *$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>-e 2</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>-e 2</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.2 |
| Label: | Activate audit logging |
| Description: | Ensure that local logging has been enabled on all systems and networking devices. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
Logging services should be configured to prevent information leaks and to aggregate logs on a remote server so that they can be reviewed in the event of a system compromise and ease log analysis.
The rsyslog software is recommended as a replacement for the syslogd daemon and provides improvements over syslogd , such as connection-oriented (i.e. TCP) transmission of logs, the option to log to database formats, and the encryption of log data en route to a central logging server. Note: This section only applies if rsyslog is installed on the system.
The rsyslog software is a recommended replacement to the original syslogd daemon which provide improvements over syslogd , such as connection-oriented (i.e. TCP) transmission of logs, the option to log to database formats, and the encryption of log data en route to a central logging server.
The security enhancements of rsyslog such as connection-oriented (i.e. TCP) transmission of logs, the option to log to database formats, and the encryption of log data en route to a central logging server) justify installing and configuring the package.
Run the folloing command to install rsyslog:
# dnf install rsyslog
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.1_Ensure_rsyslog_is_installed"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659440"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659440">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659440"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'rsyslog' is installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>rsyslog</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>7.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.2102.0</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.2102.0-7.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>rsyslog-0:8.2102.0-7.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.2 |
| Label: | Activate audit logging |
| Description: | Ensure that local logging has been enabled on all systems and networking devices. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
Once the rsyslog package is installed it needs to be activated.
If the rsyslog service is not activated the system may default to the syslogd service or lack logging instead.
Run the following command to enable rsyslog :
# systemctl --now enable rsyslog
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.2_Ensure_rsyslog_Service_is_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659400"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659400">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659400"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'rsyslog' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>rsyslog</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>enabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.2 |
| Label: | Activate audit logging |
| Description: | Ensure that local logging has been enabled on all systems and networking devices. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
rsyslog will create logfiles that do not already exist on the system. This setting controls what permissions will be applied to these newly created files.
It is important to ensure that log files have the correct permissions to ensure that sensitive data is archived and protected.
Edit the /etc/rsyslog.conf and /etc/rsyslog.d/*.conf files and set $FileCreateMode to 0640 or more restrictive:
$FileCreateMode 0640
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.3_Ensure_rsyslog_default_file_permissions_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">See the rsyslog.conf(5) man page for more information.</xccdf:ident>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659410"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659410">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659410"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/rsyslog.conf exists and matches pattern ^\s*\$FileCreateMode\s+0[6420][40]0\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659417"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659417">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659417"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file(s) named .*\.conf in /etc/rsyslog.d/ exists and matches pattern ^\s*\$FileCreateMode\s+0[6420][40]0\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/rsyslog.d/CIS.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/rsyslog.d</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>CIS.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*\$FileCreateMode\s+0[6420][40]0\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>$FileCreateMode 0640</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>$FileCreateMode 0640</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | See the rsyslog.conf(5) man page for more information. |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The rsyslog utility supports the ability to send logs it gathers to a remote log host running syslogd(8) or to receive messages from remote hosts, reducing administrative overhead.
Storing log data on a remote host protects log integrity from local attacks. If an attacker gains root access on the local system, they could tamper with or remove log data that is stored on the local system
Edit the /etc/rsyslog.conf and /etc/rsyslog.d/*.conf files and add the following line (where loghost.example.com is the name of your central log host).
*.* @@loghost.example.com
Run the following command to reload the rsyslogd configuration:
# systemctl restart rsyslog
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.2.1.5_Ensure_rsyslog_is_configured_to_send_logs_to_a_remote_log_host"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/8"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">See the rsyslog.conf(5) man page for more information.</xccdf:ident>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659422"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659422">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659422"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/rsyslog.conf exists and matches pattern ^\s*\*\.\*\s+@</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/rsyslog.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>rsyslog.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*\*\.\*\s+@</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>*.* @</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>*.* @</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659427"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659427">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659427"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file(s) named .*\.conf in /etc/rsyslog.d/ exists and matches pattern ^\s*\*\.\*\s+@</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | See the rsyslog.conf(5) man page for more information. |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.6 |
| Label: | Deploy SIEM or Log Analytic tool |
| Description: | Deploy Security Information and Event Management (SIEM) or log analytic tool for log correlation and analysis. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.8 |
| Label: | Regularly Tune SIEM |
| Description: | On a regular basis, tune your SIEM system to better identify actionable events and decrease event noise. |
systemd-journald is a system service that collects and stores logging data. It creates and maintains structured, indexed journals based on logging information that is received from a variety of sources: Kernel log messages, via kmsg
Any changes made to the systemd-journald configuration will require a re-start of systemd-journald
Data from journald may be stored in volatile memory or persisted locally on the server. Utilities exist to accept remote export of journald logs, however, use of the rsyslog service provides a consistent means of log collection and export.
Storing log data on a remote host protects log integrity from local attacks. If an attacker gains root access on the local system, they could tamper with or remove log data that is stored on the local system.
Edit the /etc/systemd/journald.conf file and add the following line:
ForwardToSyslog=yes
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.1_Ensure_journald_is_configured_to_send_logs_to_rsyslog"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/5"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">https://github.com/konstruktoid/hardening/blob/master/systemd.adoc#etcsystemdjournaldconf</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659412"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659412">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659412"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/systemd/journald.conf exists and matches pattern ^\s*(?i)ForwardToSyslog\s*=\s*yes(\s+#.*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | https://github.com/konstruktoid/hardening/blob/master/systemd.adoc#etcsystemdjournaldconf |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.5 |
| Label: | Central Log Management |
| Description: | Ensure that appropriate logs are being aggregated to a central log management system for analysis and review. |
The journald system includes the capability of compressing overly large files to avoid filling up the system with logs or making the logs unmanageably large.
Uncompressed large files may unexpectedly fill a filesystem leading to resource unavailability. Compressing logs prior to write can prevent sudden, unexpected filesystem impacts.
Edit the /etc/systemd/journald.conf file and add the following line:
Compress=yes
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.2_Ensure_journald_is_configured_to_compress_large_log_files"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">https://github.com/konstruktoid/hardening/blob/master/systemd.adoc#etcsystemdjournaldconf</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659416"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659416">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659416"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/systemd/journald.conf exists and matches pattern ^\s*(?i)Compress\s*=\s*yes(\s+#.*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | https://github.com/konstruktoid/hardening/blob/master/systemd.adoc#etcsystemdjournaldconf |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.4 |
| Label: | Ensure adequate storage for logs |
| Description: | Ensure that all systems that store logs have adequate storage space for the logs generated. |
Data from journald may be stored in volatile memory or persisted locally on the server. Logs in memory will be lost upon a system reboot. By persisting logs to local disk on the server they are protected from loss.
Writing log data to disk will provide the ability to forensically reconstruct events which may have impacted the operations or security of a system even after a system crash or reboot.
Edit the /etc/systemd/journald.conf file and add the following line:
Storage=persistent
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.2.2.3_Ensure_journald_is_configured_to_write_logfiles_to_persistent_disk"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">https://github.com/konstruktoid/hardening/blob/master/systemd.adoc#etcsystemdjournaldconf</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659421"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659421">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659421"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/systemd/journald.conf exists and matches pattern ^\s*(?i)Storage\s*=\s*persistent(\s+#.*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | https://github.com/konstruktoid/hardening/blob/master/systemd.adoc#etcsystemdjournaldconf |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.2 |
| Label: | Activate audit logging |
| Description: | Ensure that local logging has been enabled on all systems and networking devices. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
Log files stored in /var/log/ contain logged information from many services on the system, or on log hosts others as well.
It is important to ensure that log files have the correct permissions to ensure that sensitive data is archived and protected.
Run the following commands to set permissions on all existing log files:
find /var/log -type f -exec chmod g-wx,o-rwx "{}" + -o -type d -exec chmod g-w,o-rwx
"{}" +
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_4.2.3_Ensure_permissions_on_all_logfiles_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659163"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659163">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659163"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure any file(s) named .* in /var/log exists and does not have permissions ----wxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/lastlog</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>lastlog</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>22</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673622</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673622</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673622</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>292292</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/wtmp</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>wtmp</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>22</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673898</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673622</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673622</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>64128</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/boot.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>boot.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672009741</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672009741</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672009741</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/vmware-vmtoolsd-root.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>vmware-vmtoolsd-root.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887382</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>940</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/vmware-vgauthsvc.log.0</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>vmware-vgauthsvc.log.0</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887382</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>8171</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/vmware-vmsvc-root.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>vmware-vmsvc-root.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887382</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>15787</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/firewalld</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>firewalld</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887385</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964606</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964606</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1302</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/kdump.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>kdump.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887398</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964620</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964620</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>3850</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sudo.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sudo.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671942393</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673844</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673844</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>124463</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/dnf.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>dnf.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671889759</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673648</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673648</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>241363</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/dnf.librepo.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>dnf.librepo.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671889759</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673648</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673648</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>72255</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/dnf.rpm.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>dnf.rpm.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671889759</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673587</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673587</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>13932</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/boot.log-20221225</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>boot.log-20221225</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>23677</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/hawkey.log-20221225</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>hawkey.log-20221225</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671897982</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671901827</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>840</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/cron-20221225</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>cron-20221225</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887385</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671930081</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>4553</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/maillog-20221225</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>maillog-20221225</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869460</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869460</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/messages-20221225</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>messages-20221225</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869460</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932244</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>705024</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/secure-20221225</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>secure-20221225</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869460</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932043</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>674646</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/spooler-20221225</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>spooler-20221225</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869460</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869460</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/boot.log-20221226</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>boot.log-20221226</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672009741</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672009741</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672009741</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>15756</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/btmp-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>btmp-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>22</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672561556</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672561224</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>2304</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/btmp</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>btmp</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>22</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673622</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673587</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673587</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1152</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/hawkey.log-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>hawkey.log-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672562483</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>3480</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/hawkey.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>hawkey.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673628</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673628</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>240</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/cron-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>cron-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672563662</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>6542</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/cron</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>cron</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672668081</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672668081</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>3974</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/maillog-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>maillog-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/maillog</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>maillog</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/messages-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>messages-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565392</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>3855359</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/messages</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>messages</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673864</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673864</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>75594</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/secure-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>secure-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565392</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>2289009</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/secure</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>secure</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673864</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673864</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>47336</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/spooler-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>spooler-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/spooler</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>spooler</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/vmware-network.6.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>vmware-network.6.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887385</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887385</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>189</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/vmware-network.5.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>vmware-network.5.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671908533</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671908533</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>189</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/vmware-network.4.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>vmware-network.4.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671929467</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671929467</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>187</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/vmware-network.3.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>vmware-network.3.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672027651</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672027651</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>189</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/vmware-network.2.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>vmware-network.2.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672560871</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672560871</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>185</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/vmware-network.1.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>vmware-network.1.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672669156</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672669156</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>187</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/vmware-network.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>vmware-network.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673294</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>185</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit/audit.log.6</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.log.6</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887381</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671898183</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>8388761</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit/audit.log.5</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.log.5</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671898183</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671930381</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>8388997</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit/audit.log.4</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.log.4</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671930381</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671934664</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>8388624</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit/audit.log.3</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.log.3</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671934664</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963518</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>8388847</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit/audit.log.2</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.log.2</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963518</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963838</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>8388864</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit/audit.log.1</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.log.1</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963838</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964592</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>6469084</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit/audit.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/audit</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>audit.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964602</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673900</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673900</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>2435954</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.*</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.*</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.*</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd/sssd_kcm.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sssd_kcm.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672561731</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672562181</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672562181</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>260</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd/sssd_implicit_files.log-20221225.gz</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sssd_implicit_files.log-20221225.gz</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887384</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671900713</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>214</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd/sssd.log-20221225.gz</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sssd.log-20221225.gz</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887382</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>367</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd/sssd_nss.log-20221225.gz</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sssd_nss.log-20221225.gz</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887384</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671900713</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>6556</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd/sssd_implicit_files.log-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sssd_implicit_files.log-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964605</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>610</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd/sssd_implicit_files.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sssd_implicit_files.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd/sssd.log-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sssd.log-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1785</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd/sssd.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sssd.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd/sssd_nss.log-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sssd_nss.log-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964605</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>520</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd/sssd_nss.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/sssd</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sssd_nss.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm/rhsmcertd.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>rhsmcertd.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672667505</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672667505</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>384</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm/rhsm.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>rhsm.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673607</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673607</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>34840</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm/rhsmcertd.log-20221225</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>rhsmcertd.log-20221225</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1884</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm/rhsm.log-20221225</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>rhsm.log-20221225</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671932275</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>39479</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm/rhsmcertd.log-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>rhsmcertd.log-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1679</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm/rhsm.log-20230101</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/rhsm</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>rhsm.log-20230101</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672565941</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>27676</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.*</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/tuned/tuned.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/tuned</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>tuned.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887385</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964606</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964606</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>14735</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.*</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/aide/aide.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/aide</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>aide.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671901941</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963443</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963443</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>756</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/anaconda.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>anaconda.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>62976</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/syslog</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>syslog</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1578888</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/X.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>X.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>39061</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/program.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>program.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>10297</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/packaging.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>packaging.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>315358</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/storage.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>storage.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>672717</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/lvm.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>lvm.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1179593</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/dnf.librepo.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>dnf.librepo.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>2213</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/hawkey.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>hawkey.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>120</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/dbus.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>dbus.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>3408</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/ks-script-3gfmardu.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>ks-script-3gfmardu.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/ks-script-cvm3k2zv.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>ks-script-cvm3k2zv.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/ks-script-iwpqx8rt.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>ks-script-iwpqx8rt.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda/journal.log</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/anaconda</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>journal.log</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958825</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869780</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>4298697</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.*</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/journal/c219b65366724cbab32b2c7ec8648428/system.journal</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/journal/c219b65366724cbab32b2c7ec8648428</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>system.journal</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>190</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672013359</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673895</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673895</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>25165824</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/journal/c219b65366724cbab32b2c7ec8648428/user-1000.journal</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/var/log/journal/c219b65366724cbab32b2c7ec8648428</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>user-1000.journal</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>190</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964606</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673895</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673895</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>8388608</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The cron daemon is used to execute batch jobs on the system.
While there may not be user jobs that need to be run on the system, the system does have maintenance jobs that may include security monitoring that have to run, and cron is used to execute them.
Run the following command to enable cron :
# systemctl --now enable crond
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.1.1_Ensure_cron_daemon_is_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659257"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659257">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659257"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure standard service 'crond' is enabled</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Systemdunitproperty Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Unit</td>
<td>String</td>
<td>Exists</td>
<td>crond</td>
</tr>
<tr>
<td>Property</td>
<td>String</td>
<td>Exists</td>
<td>UnitFileState</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>String</td>
<td>Exists</td>
<td>enabled</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The /etc/crontab file is used by cron to control its own jobs. The commands in this item make sure that root is the user and group owner of the file and that only the owner can access the file.
This file contains information on what system jobs are run by cron. Write access to these files could provide unprivileged users with the ability to elevate their privileges. Read access to these files could provide users with the ability to gain insight on system jobs that run on the system and could provide them a way to gain unauthorized privileged access.
Run the following commands to set ownership and permissions on /etc/crontab :
# chown root:root /etc/crontab
# chmod og-rwx /etc/crontab
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.1.2_Ensure_permissions_on_etccrontab_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659260"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659260">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659260"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/crontab exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/crontab</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>crontab</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671941810</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869721</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>490</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
This directory contains system cron jobs that need to run on an hourly basis. The files in this directory cannot be manipulated by the crontab command, but are instead edited by system administrators using a text editor. The commands below restrict read/write and search access to user and group root, preventing regular users from accessing this directory.
Granting write access to this directory for non-privileged users could provide them the means for gaining unauthorized elevated privileges. Granting read access to this directory could give an unprivileged user insight in how to gain elevated privileges or circumvent auditing controls.
Run the following commands to set ownership and permissions on /etc/cron.hourly :
# chown root:root /etc/cron.hourly
# chmod og-rwx /etc/cron.hourly
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.1.3_Ensure_permissions_on_etccron.hourly_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659265"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659265">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659265"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/cron.hourly/ exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/cron.hourly</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>directory</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672657261</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869465</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>22</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The /etc/cron.daily directory contains system cron jobs that need to run on a daily basis. The files in this directory cannot be manipulated by the crontab command, but are instead edited by system administrators using a text editor. The commands below restrict read/write and search access to user and group root, preventing regular users from accessing this directory.
Granting write access to this directory for non-privileged users could provide them the means for gaining unauthorized elevated privileges. Granting read access to this directory could give an unprivileged user insight in how to gain elevated privileges or circumvent auditing controls.
Run the following commands to set ownership and permissions on /etc/cron.daily :
# chown root:root /etc/cron.daily
# chmod og-rwx /etc/cron.daily
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.1.4_Ensure_permissions_on_etccron.daily_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659272"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659272">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659272"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/cron.daily/ exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/cron.daily</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>directory</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673901</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869459</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>23</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The /etc/cron.weekly directory contains system cron jobs that need to run on a weekly basis. The files in this directory cannot be manipulated by the crontab command, but are instead edited by system administrators using a text editor. The commands below restrict read/write and search access to user and group root, preventing regular users from accessing this directory.
Granting write access to this directory for non-privileged users could provide them the means for gaining unauthorized elevated privileges. Granting read access to this directory could give an unprivileged user insight in how to gain elevated privileges or circumvent auditing controls.
Run the following commands to set ownership and permissions on /etc/cron.weekly :
# chown root:root /etc/cron.weekly
# chmod og-rwx /etc/cron.weekly
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.1.5_Ensure_permissions_on_etccron.weekly_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659278"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659278">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659278"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/cron.weekly/ exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/cron.weekly</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>directory</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673901</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1610113450</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>6</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The /etc/cron.monthly directory contains system cron jobs that need to run on a monthly basis. The files in this directory cannot be manipulated by the crontab command, but are instead edited by system administrators using a text editor. The commands below restrict read/write and search access to user and group root, preventing regular users from accessing this directory.
Granting write access to this directory for non-privileged users could provide them the means for gaining unauthorized elevated privileges. Granting read access to this directory could give an unprivileged user insight in how to gain elevated privileges or circumvent auditing controls.
Run the following commands to set ownership and permissions on /etc/cron.monthly :
# chown root:root /etc/cron.monthly
# chmod og-rwx /etc/cron.monthly
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.1.6_Ensure_permissions_on_etccron.monthly_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659283"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659283">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659283"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/cron.monthly/ exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/cron.monthly</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>directory</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673901</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1610113450</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>6</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The /etc/cron.d directory contains system cron jobs that need to run in a similar manner to the hourly, daily weekly and monthly jobs from /etc/crontab , but require more granular control as to when they run. The files in this directory cannot be manipulated by the crontab command, but are instead edited by system administrators using a text editor. The commands below restrict read/write and search access to user and group root, preventing regular users from accessing this directory.
Granting write access to this directory for non-privileged users could provide them the means for gaining unauthorized elevated privileges. Granting read access to this directory could give an unprivileged user insight in how to gain elevated privileges or circumvent auditing controls.
Run the following commands to set ownership and permissions on /etc/cron.d :
# chown root:root /etc/cron.d
# chmod og-rwx /etc/cron.d
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.1.7_Ensure_permissions_on_etccron.d_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.152+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659289"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659289">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659289"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/cron.d/ exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/cron.d</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>directory</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673901</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869504</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>39</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Configure /etc/cron.allow and /etc/at.allow to allow specific users to use these services. If /etc/cron.allow or /etc/at.allow do not exist, then /etc/at.deny and /etc/cron.deny are checked. Any user not specifically defined in those files is allowed to use at and cron. By removing the files, only users in /etc/cron.allow and /etc/at.allow are allowed to use at and cron. Note that even though a given user is not listed in cron.allow , cron jobs can still be run as that user. The cron.allow file only controls administrative access to the crontab command for scheduling and modifying cron jobs.
On many systems, only the system administrator is authorized to schedule cron jobs. Using the cron.allow file to control who can run cron jobs enforces this policy. It is easier to manage an allow list than a deny list. In a deny list, you could potentially add a user ID to the system and forget to add it to the deny files.
Run the following commands to remove /etc/cron.deny and /etc/at.deny and create and set permissions and ownership for /etc/cron.allow and /etc/at.allow :
# rm /etc/cron.deny
# rm /etc/at.deny
# touch /etc/cron.allow
# touch /etc/at.allow
# chmod og-rwx /etc/cron.allow
# chmod og-rwx /etc/at.allow
# chown root:root /etc/cron.allow
# chown root:root /etc/at.allow
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.1.8_Ensure_atcron_is_restricted_to_authorized_users"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659297"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659297">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659297"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/at.allow exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/at.allow</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>at.allow</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964105</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659301"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659301">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659301"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td><p>Ensure{ if $artifact.existence == 'at_least_one_exists' } at least one { else } no { /if }file named { $artifact.filepath } exists{ if $test.human_id == 'unix.file_attributes_v1' }{ if $test.uid != '' and $test.gid != '' } and is owned by { $test.uid }</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659304"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659304">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659304"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td><p>Ensure{ if $artifact.existence == 'at_least_one_exists' } at least one { else } no { /if }file named { $artifact.filepath } exists{ if $test.human_id == 'unix.file_attributes_v1' }{ if $test.uid != '' and $test.gid != '' } and is owned by { $test.uid }</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659307"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659307">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659307"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td><p>Ensure{ if $artifact.existence == 'at_least_one_exists' } at least one { else } no { /if }file named { $artifact.filepath } exists{ if $test.human_id == 'unix.file_attributes_v1' }{ if $test.uid != '' and $test.gid != '' } and is owned by { $test.uid }</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/cron.allow</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>cron.allow</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671964106</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
SSH is a secure, encrypted replacement for common login services such as telnet , ftp , rlogin , rsh , and rcp . It is strongly recommended that sites abandon older clear-text login protocols and use SSH to prevent session hijacking and sniffing of sensitive data off the network.
Note: The recommendations in this section only apply if the SSH daemon is installed on the system, if remote access is not required the SSH daemon can be removed and this section skipped.
Note: Once all configuration changes have been made to /etc/ssh/sshd_config , the sshd configuration must be reloaded:
# systemctl reload sshd
The /etc/ssh/sshd_config file contains configuration specifications for sshd . The command below sets the owner and group of the file to root.
The /etc/ssh/sshd_config file needs to be protected from unauthorized changes by non-privileged users.
Run the following commands to set ownership and permissions on /etc/ssh/sshd_config :
# chown root:root /etc/ssh/sshd_config
# chmod og-rwx /etc/ssh/sshd_config
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.1_Ensure_permissions_on_etcsshsshd_config_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659319"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659319">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659319"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/ssh/sshd_config exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh/sshd_config</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>sshd_config</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672561503</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672561472</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672561472</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>4129</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:732030"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:732030">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:732030"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
There are several options available to limit which users and group can access the system via SSH. It is recommended that at least one of the following options be leveraged:
AllowUsers
The AllowUsers variable gives the system administrator the option of allowing specific users to ssh into the system. The list consists of space separated user names. Numeric user IDs are not recognized with this variable. If a system administrator wants to restrict user access further by only allowing the allowed users to log in from a particular host, the entry can be specified in the form of user@host.
AllowGroups
The AllowGroups variable gives the system administrator the option of allowing specific groups of users to ssh into the system. The list consists of space separated group names. Numeric group IDs are not recognized with this variable.
DenyUsers
The DenyUsers variable gives the system administrator the option of denying specific users to ssh into the system. The list consists of space separated user names. Numeric user IDs are not recognized with this variable. If a system administrator wants to restrict user access further by specifically denying a user's access from a particular host, the entry can be specified in the form of user@host.
DenyGroups
The DenyGroups variable gives the system administrator the option of denying specific groups of users to ssh into the system. The list consists of space separated group names. Numeric group IDs are not recognized with this variable.
Restricting which users can remotely access the system via SSH will help ensure that only authorized users access the system.
Edit the /etc/ssh/sshd_config file to set one or more of the parameter as follows:
AllowUsers <userlist>
AllowGroups <grouplist>
DenyUsers <userlist>
DenyGroups <grouplist>
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.2_Ensure_SSH_access_is_limited"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659383_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: ""</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: ""</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724268"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724268">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:724268"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.3 |
| Label: | Ensure the Use of Dedicated Administrative Accounts |
| Description: | Ensure that all users with administrative account access use a dedicated or secondary account for elevated activities. This account should only be used for administrative activities and not internet browsing, email, or similar activities. |
An SSH private key is one of two files used in SSH public key authentication. In this authentication method, the possession of the private key is proof of identity. Only a private key that corresponds to a public key will be able to authenticate successfully. The private keys need to be stored and handled carefully, and no copies of the private key should be distributed.
If an unauthorized user obtains the private SSH host key file, the host could be impersonated
Run the following commands to set ownership and permissions on the private SSH host key files
# find /etc/ssh -xdev -type f -name 'ssh_host_*_key' -exec chown root:root {} \;
# find /etc/ssh -xdev -type f -name 'ssh_host_*_key' -exec chmod 0600 {} \;
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.3_Ensure_permissions_on_SSH_private_host_key_files_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659394"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659394">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659394"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure any file(s) named ^(ssh\_host\_.*\_key)$ in /etc/ssh exists and is owned by 0:0 and does not have permissions ---rwxrwx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh/ssh_host_ed25519_key</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>ssh_host_ed25519_key</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673557</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958741</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887382</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>387</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh/ssh_host_ecdsa_key</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>ssh_host_ecdsa_key</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673557</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958741</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887382</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>492</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh/ssh_host_rsa_key</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>ssh_host_rsa_key</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673557</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671958741</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887385</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>2578</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:732032"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:732032">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:732032"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
An SSH public key is one of two files used in SSH public key authentication. In this authentication method, a public key is a key that can be used for verifying digital signatures generated using a corresponding private key. Only a public key that corresponds to a private key will be able to authenticate successfully.
If a public host key file is modified by an unauthorized user, the SSH service may be compromised.
Run the following commands to set permissions and ownership on the SSH host public key files
# find /etc/ssh -xdev -type f -name 'ssh_host_*_key.pub' -exec chmod 0644 {} \;
#find /etc/ssh -xdev -type f -name 'ssh_host_*_key.pub' -exec chown root:root {} \;
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.4_Ensure_permissions_on_SSH_public_host_key_files_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659402"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659402">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659402"
check="all"
check_existence="all_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure all {else} no file(s) named ^(ssh\_host\_.*\_key\.pub)$ in /etc/ssh exists and is owned by 0:0 and does not have permissions ----wx-wx</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>All Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh/ssh_host_ed25519_key.pub</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>ssh_host_ed25519_key.pub</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673557</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887384</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887382</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>82</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh/ssh_host_ecdsa_key.pub</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>ssh_host_ecdsa_key.pub</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673557</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887382</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887382</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>162</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh/ssh_host_rsa_key.pub</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/ssh</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>ssh_host_rsa_key.pub</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673557</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887385</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887385</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>554</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:732033"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:732033">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:732033"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
INFO level is the basic level that only records login activity of SSH users. In many situations, such as Incident Response, it is important to determine when a particular user was active on a system. The logout record can eliminate those users who disconnected, which helps narrow the field.
VERBOSE level specifies that login and logout activity as well as the key fingerprint for any SSH key used for login will be logged. This information is important for SSH key management, especially in legacy environments.
SSH provides several logging levels with varying amounts of verbosity. DEBUG is specifically not recommended other than strictly for debugging SSH communications since it provides so much data that it is difficult to identify important security information.
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
LogLevel VERBOSE
OR
LogLevel INFO
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.5_Ensure_SSH_LogLevel_is_appropriate"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/6/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">https://www.ssh.com/ssh/sshd_config/</xccdf:ident>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659327_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "loglevel VERBOSE"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "loglevel VERBOSE"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689857"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689857">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689857"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | https://www.ssh.com/ssh/sshd_config/ |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.2 |
| Label: | Activate audit logging |
| Description: | Ensure that local logging has been enabled on all systems and networking devices. |
| CIS Control Information | |
|---|---|
| Control: | Collect, manage and analyze audit logs of events that could help detect, understand, or recover from an attack. |
| Subcontrol: | 6.3 |
| Label: | Enable Detailed Logging |
| Description: | Enable system logging to include detailed information such as a event source, date, user, timestamp, source addresses, destination addresses, and other useful elements. |
The X11Forwarding parameter provides the ability to tunnel X11 traffic through the connection to enable remote graphic connections.
Disable X11 forwarding unless there is an operational requirement to use X11 applications directly. There is a small risk that the remote X11 servers of users who are logged in via SSH with X11 forwarding could be compromised by other users on the X11 server. Note that even if X11 forwarding is disabled, users can always install their own forwarders.
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
X11Forwarding no
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.6_Ensure_SSH_X11_forwarding_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659332_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "x11forwarding no"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "x11forwarding no"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689858"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689858">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689858"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The MaxAuthTries parameter specifies the maximum number of authentication attempts permitted per connection. When the login failure count reaches half the number, error messages will be written to the syslog file detailing the login failure.
Setting the MaxAuthTries parameter to a low number will minimize the risk of successful brute force attacks to the SSH server. While the recommended setting is 4, set the number based on site policy.
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
MaxAuthTries 4
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.7_Ensure_SSH_MaxAuthTries_is_set_to_4_or_less"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/13"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659336_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "maxauthtries 4"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "maxauthtries 4"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689859"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689859">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689859"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.13 |
| Label: | Alert on Account Login Behavior Deviation |
| Description: | Alert when users deviate from normal login behavior, such as time-of-day, workstation location and duration. |
The IgnoreRhosts parameter specifies that .rhosts and .shosts files will not be used in RhostsRSAAuthentication or HostbasedAuthentication .
Setting this parameter forces users to enter a password when authenticating with ssh.
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
IgnoreRhosts yes
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.8_Ensure_SSH_IgnoreRhosts_is_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659341_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "ignorerhosts yes"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "ignorerhosts yes"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689860"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689860">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689860"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The HostbasedAuthentication parameter specifies if authentication is allowed through trusted hosts via the user of .rhosts , or /etc/hosts.equiv , along with successful public key client host authentication. This option only applies to SSH Protocol Version 2.
Even though the .rhosts files are ineffective if support is disabled in /etc/pam.conf , disabling the ability to use .rhosts files in SSH provides an additional layer of protection.
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
HostbasedAuthentication no
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.9_Ensure_SSH_HostbasedAuthentication_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659344_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "hostbasedauthentication no"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "hostbasedauthentication no"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689861"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689861">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689861"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.3 |
| Label: | Require Multi-Factor Authentication |
| Description: | Require multi-factor authentication for all user accounts, on all systems, whether managed on-site or by a third-party provider. |
The PermitRootLogin parameter specifies if the root user can log in using ssh. The default is no.
Disallowing root logins over SSH requires system admins to authenticate using their own individual account, then escalating to root via sudo or su . This in turn limits opportunity for non-repudiation and provides a clear audit trail in the event of a security incident
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
PermitRootLogin no
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.10_Ensure_SSH_root_login_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659352_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="fail"
exit-value="102">
<out>
<l>FAILED! check sshd parameter: "permitrootlogin yes"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>FAILED! check sshd parameter: "permitrootlogin yes"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689862"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689862">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689862"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.3 |
| Label: | Ensure the Use of Dedicated Administrative Accounts |
| Description: | Ensure that all users with administrative account access use a dedicated or secondary account for elevated activities. This account should only be used for administrative activities and not internet browsing, email, or similar activities. |
The PermitEmptyPasswords parameter specifies if the SSH server allows login to accounts with empty password strings.
Disallowing remote shell access to accounts that have an empty password reduces the probability of unauthorized access to the system
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
PermitEmptyPasswords no
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.11_Ensure_SSH_PermitEmptyPasswords_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/3"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659358_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "permitemptypasswords no"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "permitemptypasswords no"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689863"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689863">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689863"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.3 |
| Label: | Require Multi-Factor Authentication |
| Description: | Require multi-factor authentication for all user accounts, on all systems, whether managed on-site or by a third-party provider. |
The PermitUserEnvironment option allows users to present environment options to the ssh daemon.
Permitting users the ability to set environment variables through the SSH daemon could potentially allow users to bypass security controls (e.g. setting an execution path that has ssh executing trojan'd programs)
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
PermitUserEnvironment no
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.12_Ensure_SSH_PermitUserEnvironment_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659362_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "permituserenvironment no"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "permituserenvironment no"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689864"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689864">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689864"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The two options ClientAliveInterval and ClientAliveCountMax control the timeout of ssh sessions. When the ClientAliveInterval variable is set, ssh sessions that have no activity for the specified length of time are terminated. When the ClientAliveCountMax variable is set, sshd will send client alive messages at every ClientAliveInterval interval. When the number of consecutive client alive messages are sent with no response from the client, the ssh session is terminated. For example, if the ClientAliveInterval is set to 15 seconds and the ClientAliveCountMax is set to 3, the client ssh session will be terminated after 45 seconds of idle time.
Having no timeout value associated with a connection could allow an unauthorized user access to another user's ssh session (e.g. user walks away from their computer and doesn't lock the screen). Setting a timeout value at least reduces the risk of this happening..
While the recommended setting is 300 seconds (5 minutes), set this timeout value based on site policy. The recommended setting for ClientAliveCountMax is 0. In this case, the client session will be terminated after 5 minutes of idle time and no keepalive messages will be sent.
Edit the /etc/ssh/sshd_config file to set the parameters according to site policy:
ClientAliveInterval 300
ClientAliveCountMax 0
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.13_Ensure_SSH_Idle_Timeout_Interval_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/11"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659369_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="fail"
exit-value="102">
<out>
<l>FAILED! check sshd parameter: "clientaliveinterval 900"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>FAILED! check sshd parameter: "clientaliveinterval 900"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659373_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "clientalivecountmax 0"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "clientalivecountmax 0"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689865"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689865">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689865"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.11 |
| Label: | Lock Workstation Sessions After Inactivity |
| Description: | Automatically lock workstation sessions after a standard period of inactivity. |
The LoginGraceTime parameter specifies the time allowed for successful authentication to the SSH server. The longer the Grace period is the more open unauthenticated connections can exist. Like other session controls in this session the Grace Period should be limited to appropriate organizational limits to ensure the service is available for needed access.
Setting the LoginGraceTime parameter to a low number will minimize the risk of successful brute force attacks to the SSH server. It will also limit the number of concurrent unauthenticated connections While the recommended setting is 60 seconds (1 Minute), set the number based on site policy.
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
LoginGraceTime 60
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.14_Ensure_SSH_LoginGraceTime_is_set_to_one_minute_or_less"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.153+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659379_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "logingracetime 60"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "logingracetime 60"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689866"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689866">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689866"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The Banner parameter specifies a file whose contents must be sent to the remote user before authentication is permitted. By default, no banner is displayed.
Banners are used to warn connecting users of the particular site's policy regarding connection. Presenting a warning message prior to the normal user login may assist the prosecution of trespassers on the computer system.
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
Banner /etc/issue.net
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.15_Ensure_SSH_warning_banner_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_659389_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "banner /etc/issue.net"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "banner /etc/issue.net"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689867"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689867">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689867"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
UsePAM Enables the Pluggable Authentication Module interface. If set to “yes” this will enable PAM authentication using ChallengeResponseAuthentication and PasswordAuthentication in addition to PAM account and session module processing for all authentication types
When usePAM is set to yes, PAM runs through account and session types properly. This is important if you want to restrict access to services based off of IP, time or other factors of the account. Additionally, you can make sure users inherit certain environment variables on login or disallow access to the server
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
UsePAM yes
Impact:
If UsePAM is enabled, you will not be able to run sshd(8) as a non-root user.
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.16_Ensure_SSH_PAM_is_enabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_677477_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "usepam yes"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "usepam yes"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689868"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689868">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689868"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
SSH port forwarding is a mechanism in SSH for tunneling application ports from the client to the server, or servers to clients. It can be used for adding encryption to legacy applications, going through firewalls, and some system administrators and IT professionals use it for opening backdoors into the internal network from their home machines
Leaving port forwarding enabled can expose the organization to security risks and back-doors.
SSH connections are protected with strong encryption. This makes their contents invisible to most deployed network monitoring and traffic filtering solutions. This invisibility carries considerable risk potential if it is used for malicious purposes such as data exfiltration. Cybercriminals or malware could exploit SSH to hide their unauthorized communications, or to exfiltrate stolen data from the target network
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
AllowTcpForwarding no
Impact:
SSH tunnels are widely used in many corporate environments that employ mainframe systems as their application backends. In those environments the applications themselves may have very limited native support for security. By utilizing tunneling, compliance with SOX, HIPAA, PCI-DSS, and other standards can be achieved without having to modify the applications.
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.17_Ensure_SSH_AllowTcpForwarding_is_disabled"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/9/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">https://www.ssh.com/ssh/tunneling/example</xccdf:ident>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_689869_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "allowtcpforwarding no"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "allowtcpforwarding no"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689870"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689870">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689870"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | https://www.ssh.com/ssh/tunneling/example |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Manage (track/control/correct) the ongoing operational use of ports, protocols, and services on networked devices in order to minimize windows of vulnerability available to attackers. |
| Subcontrol: | 9.2 |
| Label: | Ensure Only Approved Ports, Protocols and Services Are Running |
| Description: | Ensure that only network ports, protocols, and services listening on a system with validated business needs are running on each system. |
The MaxStartups parameter specifies the maximum number of concurrent unauthenticated connections to the SSH daemon.
To protect a system from denial of service due to a large number of pending authentication connection attempts, use the rate limiting function of MaxStartups to protect availability of sshd logins and prevent overwhelming the daemon.
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
maxstartups 10:30:60
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.18_Ensure_SSH_MaxStartups_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_689871_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="pass"
exit-value="101">
<out>
<l>PASSED! sshd parameter: "maxstartups 10:30:60"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>PASSED! sshd parameter: "maxstartups 10:30:60"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689872"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689872">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689872"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The MaxSessions parameter specifies the maximum number of open sessions permitted from a given connection.
To protect a system from denial of service due to a large number of concurrent sessions, use the rate limiting function of MaxSessions to protect availability of sshd logins and prevent overwhelming the daemon.
Edit the /etc/ssh/sshd_config file to set the parameter as follows:
MaxSessions 4
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.19_Ensure_SSH_MaxSessions_is_set_to_4_or_less"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-export export-name="XCCDF_VALUE_REGEX"
value-id="xccdf_org.cisecurity.benchmarks_value_689873_var"/>
<xccdf:check-content-ref href="sce/sshd_running_config.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/sshd_running_config.sh"
href="sce/sshd_running_config.sh"
xccdf="fail"
exit-value="102">
<out>
<l>FAILED! check sshd parameter: "maxsessions 10"</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/sshd_running_config.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="fail">fail</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>102</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>FAILED! check sshd parameter: "maxsessions 10"</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689874"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689874">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689874"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
System-wide Crypto policy can be over-ridden or opted out of for openSSH
Over-riding or opting out of the system-wide crypto policy could allow for the use of less secure Ciphers, MACs, KexAlgoritms and GSSAPIKexAlgorithsm
Run the following commands:
# sed -ri "s/^\s*(CRYPTO_POLICY\s*=.*)$/# \1/" /etc/sysconfig/sshd
# systemctl reload sshd
| OR |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.2.20_Ensure_system-wide_crypto_policy_is_not_over-ridden"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689875"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:689875">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:689875"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/sysconfig/sshd exists and matches pattern ^\s*(CRYPTO_POLICY|[Cc]rypto_[Pp]olicy)\s*=.*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724305"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724305">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:724305"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure package name equals 'openssh-server' is not installed</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Rpminfo Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server</td>
</tr>
<tr>
<td>Arch</td>
<td>String</td>
<td>Exists</td>
<td>x86_64</td>
</tr>
<tr>
<td>Epoch</td>
<td>String</td>
<td>Exists</td>
<td>(none)</td>
</tr>
<tr>
<td>Release</td>
<td>String</td>
<td>Exists</td>
<td>13.el8</td>
</tr>
<tr>
<td>Version</td>
<td>String</td>
<td>Exists</td>
<td>8.0p1</td>
</tr>
<tr>
<td>Evr</td>
<td>Evr String</td>
<td>Exists</td>
<td>0:8.0p1-13.el8</td>
</tr>
<tr>
<td>Signature Keyid</td>
<td>String</td>
<td>Exists</td>
<td>199e2f91fd431d51</td>
</tr>
<tr>
<td>Extended Name</td>
<td>String</td>
<td>Exists</td>
<td>openssh-server-0:8.0p1-13.el8.x86_64</td>
</tr>
<tr>
<td>Filepath</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.4 |
| Label: | Encrypt All Sensitive Information in Transit |
| Description: | Encrypt all sensitive information in transit. |
Authselect is a utility that simplifies the configuration of user authentication on a Red Hat Enterprise Linux host. Authselect offers two ready-made profiles that can be universally used with all modern identity management systems
Authselect makes testing and troubleshooting easy because it only modifies files in these directories:
Notes:
Example of creating a custom authselect profile called custom-profile
# authselect create-profile custom-profile -b sssd --symlink-meta
A custom profile can be created by copying and customizing one of the default profiles. The default profiles include: sssd, winbind, or the nis.
A custom profile is required to customize many of the pam options
Run the following command to create a custom authselect profile:
# authselect create-profile <custom-profile name> -b <default profile to copy>
Example:
# authselect create-profile custom-profile -b sssd --symlink-meta
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.3.1_Create_custom_authselect_profile"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659340"
value-id="xccdf_org.cisecurity.benchmarks_value_659340_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659340"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659340">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659340"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure 'authselect current | grep 'Profile ID:'' output Pattern Match '^/s*Profile\s+ID:\s+custom\/' (string)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shellcommand Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Command</td>
<td>String</td>
<td>Exists</td>
<td>authselect current | grep 'Profile ID:'</td>
</tr>
<tr>
<td>Line Selection</td>
<td>String</td>
<td>Exists</td>
<td>.+</td>
</tr>
<tr>
<td>Exit Status</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Stdout Line</td>
<td>String</td>
<td>Exists</td>
<td>Profile ID: custom/hardening</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
You can select a profile for the authselect utility for a specific host. The profile will be applied to every user logging into the host.
You can create and deploy a custom profile by customizing one of the default profiles, the sssd, winbind, or the nis profile.
When you deploy a profile, the profile is applied to every user logging into the given host
Run the following command to select a custom authselect profile
# authselect select custom/<CUSTOM PROFILE NAME> {with-<OPTIONS>}
Example:
# authselect select custom/custom-profile with-sudo with-faillock without-nullok
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.3.2_Select_authselect_profile"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">Using authselect on a Red Hat Enterprise Linux host</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724309"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724309">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:724309"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/authselect/authselect.conf exists and matches pattern ^\s*custom\/\S+\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/authselect/authselect.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/authselect</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>authselect.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*custom\/\S+\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>custom/hardening</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>custom/hardening</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | Using authselect on a Red Hat Enterprise Linux host |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
The pam_faillock.so module maintains a list of failed authentication attempts per user during a specified interval and locks the account in case there were more than deny consecutive failed authentications. It stores the failure records into per-user files in the tally directory
Locking out user IDs after n unsuccessful consecutive login attempts mitigates brute force password attacks against your systems.
Run the following command to include the with-faillock option
# authselect select <PROFILE NAME> with-faillock
Example:
# authselect select custom/custom-profile with-sudo with-faillock without-nullok
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.3.3_Ensure_authselect_includes_with-faillock"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/7"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident system="http://cce.mitre.org">faillock(8) - Linux man page</xccdf:ident>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659335"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659335">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659335"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/authselect/authselect.conf exists and matches pattern ^\s*with-faillock</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/authselect/authselect.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/authselect</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>authselect.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*with-faillock</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>with-faillock</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>with-faillock</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
| CCE Information | |
|---|---|
| CCE-IDv5: | faillock(8) - Linux man page |
| Published On: | |
| Last Modified On: | |
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.7 |
| Label: | Establish Process for Revoking Access |
| Description: | Establish and follow an automated process for revoking system access by disabling accounts immediately upon termination or change of responsibilities of an employee or contractor . Disabling these accounts, instead of deleting accounts, allows preservation of audit trails. |
PAM (Pluggable Authentication Modules) is a service that implements modular authentication modules on UNIX systems. PAM is implemented as a set of shared objects that are loaded and executed when a program needs to authenticate a user. Files for PAM are typically located in the /etc/pam.d directory. PAM must be carefully configured to secure system authentication. While this section covers some of PAM, please consult other PAM resources to fully understand the configuration capabilities.
The pam_pwquality.so module checks the strength of passwords. It performs checks such as making sure a password is not a dictionary word, it is a certain length, contains a mix of characters (e.g. alphabet, numeric, other) and more. The following are definitions of the pam_pwquality.so options.
** Either of the following can be used to enforce complex passwords:**
OR
The settings shown above are one possible policy. Alter these values to conform to your own organization's password policies
Strong passwords protect systems from being hacked through brute force methods.
Edit the file /etc/security/pwquality.conf and add or modify the following line for password length to conform to site policy
minlen = 14
Edit the file /etc/security/pwquality.conf and add or modify the following line for password complexity to conform to site policy
minclass = 4
OR
dcredit = -1
ucredit = -1
ocredit = -1
lcredit = -1
Run the following to update the system-auth and password-auth files
CP=$(authselect current | awk 'NR == 1 {print $3}' | grep custom/)
for FN in system-auth password-auth; do
[[ -n $CP ]] && PTF=/etc/authselect/$CP/$FN || PTF=/etc/authselect/$FN
[[ -z $(grep -E '^\s*password\s+requisite\s+pam_pwquality.so\s+.*enforce-for-root\s*.*$'
$PTF) ]] && sed -ri 's/^\s*(password\s+requisite\s+pam_pwquality.so\s+)(.*)$/\1\2
enforce-for-root/' $PTF
[[ -n $(grep -E '^\s*password\s+requisite\s+pam_pwquality.so\s+.*\s+retry=\S+\s*.*$'
$PTF) ]] && sed -ri '/pwquality/s/retry=\S+/retry=3/' $PTF || sed -ri 's/^\s*(password\s+requisite\s+pam_pwquality.so\s+)(.*)$/\1\2
retry=3/' $PTF
done
authselect apply-changes
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.4.1_Ensure_password_creation_requirements_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659337"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659337">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659337"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/pam.d/password-auth exists and matches pattern ^\s*password\s+requisite\s+pam_pwquality.so\s+(\S+\s+)*retry=[1-3]\s*(\s+\S+\s*)*(\s+#.*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659339"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659339">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659339"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/pam.d/system-auth exists and matches pattern ^\s*password\s+requisite\s+pam_pwquality.so\s+(\S+\s+)*retry=[1-3]\s*(\s+\S+\s*)*(\s+#.*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724312"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724312">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:724312"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/security/pwquality.conf exists and matches pattern ^\s*minlen\s*=\s*(1[4-9]|[2-9][0-9]|[1-9][0-9][0-9])(\s+#.*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/security/pwquality.conf</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/security</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>pwquality.conf</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*minlen\s*=\s*(1[4-9]|[2-9][0-9]|[1-9][0-9][0-9])(\s+#.*)*$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>minlen = 14
# Per CCE-80664-6: Set retry = 3 in /etc/security/pwquality.conf</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>minlen = 14
# Per CCE-80664-6: Set retry = 3 in /etc/security/pwquality.conf</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>14</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>
# Per CCE-80664-6: Set retry = 3 in /etc/security/pwquality.conf</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.4 |
| Label: | Use Unique Passwords |
| Description: | Where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system. |
Lock out users after n unsuccessful consecutive login attempts.
deny= - Number of attempts before the account is locked
unlock_time= - Time in seconds before the account is unlocked
Set the lockout number and unlock time to follow local site policy.
Locking out user IDs after n unsuccessful consecutive login attempts mitigates brute force password attacks against your systems.
Set password lockouts and unlock times to conform to site policy
Run the following to update the system-auth and password-auth files. This script will update/add the deny=5 and unlock_time=900 options.
This script should be modified as needed to follow local site policy.
CP=$(authselect current | awk 'NR == 1 {print $3}' | grep custom/)
for FN in system-auth password-auth; do
[[ -n $CP ]] && PTF=/etc/authselect/$CP/$FN || PTF=/etc/authselect/$FN
[[ -n $(grep -E '^\s*auth\s+required\s+pam_faillock.so\s+.*deny=\S+\s*.*$' $PTF)
]] && sed -ri '/pam_faillock.so/s/deny=\S+/deny=5/g' $PTF || sed -ri 's/^\^\s*(auth\s+required\s+pam_faillock\.so\s+)(.*[^{}])(\{.*\}|)$/\1\2
deny=5 \3/' $PTF
[[ -n $(grep -E '^\s*auth\s+required\s+pam_faillock.so\s+.*unlock_time=\S+\s*.*$'
$PTF) ]] && sed -ri '/pam_faillock.so/s/unlock_time=\S+/unlock_time=900/g' $PTF ||
sed -ri 's/^\s*(auth\s+required\s+pam_faillock\.so\s+)(.*[^{}])(\{.*\}|)$/\1\2 unlock_time=900
\3/' $PTF
done
authselect apply-changes
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.4.2_Ensure_lockout_for_failed_password_attempts_is_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/7"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659306"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659306">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659306"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/pam.d/password-auth exists and matches pattern ^\s*auth\s+required\s+.*\s+deny=[1-5]\s*.*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659311"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659311">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659311"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/pam.d/password-auth exists and matches pattern ^\s*auth\s+required\s+.*\s+unlock_time=(9[0-9][0-9]|[1-9][0-9][0-9][0-9])\s*.*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659314"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659314">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659314"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/pam.d/system-auth exists and matches pattern ^\s*auth\s+required\s+.*\s+deny=[1-5]\s*.*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659318"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659318">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659318"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/pam.d/system-auth exists and matches pattern ^\s*auth\s+required\s+.*\s+unlock_time=(9[0-9][0-9]|[1-9][0-9][0-9][0-9])\s*.*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.7 |
| Label: | Establish Process for Revoking Access |
| Description: | Establish and follow an automated process for revoking system access by disabling accounts immediately upon termination or change of responsibilities of an employee or contractor . Disabling these accounts, instead of deleting accounts, allows preservation of audit trails. |
The /etc/security/opasswd file stores the users' old passwords and can be checked to ensure that users are not recycling recent passwords.
Forcing users not to reuse their past 5 passwords make it less likely that an attacker will be able to guess the password.
Note that these change only apply to accounts configured on the local system.
Set remembered password history to conform to site policy.
Run the following script to add or modify the pam_pwhistory.so and pam_unix.so lines to include the remember option:
CP=$(authselect current | awk 'NR == 1 {print $3}' | grep custom/)
[[ -n $CP ]] && PTF=/etc/authselect/$CP/system-auth || PTF=/etc/authselect/system-auth
[[ -n $(grep -E '^\s*password\s+(sufficient\s+pam_unix|requi(red|site)\s+pam_pwhistory).so\s+([^#]+\s+)*remember=\S+\s*.*$'
$PTF) ]] && sed -ri 's/^\s*(password\s+(requisite|sufficient)\s+(pam_pwquality\.so|pam_unix\.so)\s+)(.*)(remember=\S+\s*)(.*)$/\1\4
remember=5 \6/' $PTF || sed -ri 's/^\s*(password\s+(requisite|sufficient)\s+(pam_pwquality\.so|pam_unix\.so)\s+)(.*)$/\1\4
remember=5/' $PTF
authselect apply-changes
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.4.3_Ensure_password_reuse_is_limited"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659321"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659321">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659321"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/pam.d/system-auth exists and matches pattern ^\s*password\s+(requisite|sufficient)\s+(pwhistory\.so|pam_unix\.so)\s+(\S+\s+)*remember=([5-9]|[1-4][0-9])[0-9]*(\s+\S+\s*)*(\s+#.*)*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
The commands below change password encryption from md5 to sha512 (a much stronger hashing algorithm). All existing accounts will need to perform a password change to upgrade the stored hashes to the new algorithm.
The SHA-512 algorithm provides much stronger hashing than MD5, thus providing additional protection to the system by increasing the level of effort for an attacker to successfully determine passwords.
Note that these changes only apply to accounts configured on the local system.
Set password hashing algorithm to sha512.
Run the following script to dd or modify the pam_unix.so lines in the password-auth and system-auth files to include the sha512 option:
CP=$(authselect current | awk 'NR == 1 {print $3}' | grep custom/)
for FN in system-auth password-auth; do
[[ -z $(grep -E '^\s*password\s+sufficient\s+pam_unix.so\s+.*sha512\s*.*$' $PTF)
]] && sed -ri 's/^\s*(password\s+sufficient\s+pam_unix.so\s+)(.*)$/\1\2 sha512/' $PTF
done
authselect apply-changes
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.4.4_Ensure_password_hashing_algorithm_is_SHA-512"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659330"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659330">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659330"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/pam.d/password-auth exists and matches pattern ^\s*password\s+sufficient\s+pam_unix.so\s+.*sha512\s*.*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/authselect</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659333"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659333">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659333"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/pam.d/system-auth exists and matches pattern ^\s*password\s+sufficient\s+pam_unix.so\s+.*sha512\s*.*$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/authselect/system-auth</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/authselect</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>system-auth</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
This section provides guidance on setting up secure defaults for system and user accounts and their environment.
While a majority of the password control parameters have been moved to PAM, some parameters are still available through the shadow password suite. Any changes made to /etc/login.defs will only be applied if the usermod command is used. If user IDs are added a different way, use the chage command to effect changes to individual user IDs.
The PASS_MAX_DAYS parameter in /etc/login.defs allows an administrator to force passwords to expire once they reach a defined age. It is recommended that the PASS_MAX_DAYS parameter be set to less than or equal to 365 days.
The window of opportunity for an attacker to leverage compromised credentials or successfully compromise credentials via an online brute force attack is limited by the age of the password. Therefore, reducing the maximum age of a password also reduces an attacker's window of opportunity.
Set the PASS_MAX_DAYS parameter to conform to site policy in /etc/login.defs :
PASS_MAX_DAYS 365
Modify user parameters for all users with a password set to match:
# chage --maxdays 365 <user>
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.1_Ensure_password_expiration_is_365_days_or_less"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659451"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659451">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659451"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/login.defs exists and matches pattern ^\s*PASS_MAX_DAYS\s+(36[0-5]|3[0-5][0-9]|[1-2][0-9][0-9]|[1-9][0-9]?)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/login.defs</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>login.defs</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*PASS_MAX_DAYS\s+(36[0-5]|3[0-5][0-9]|[1-2][0-9][0-9]|[1-9][0-9]?)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>PASS_MAX_DAYS 90</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>PASS_MAX_DAYS 90</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>90</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659457"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659457">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659457"
check="none satisfy"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Ensure no users with a Password have password expiration over 365 days"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>daemon</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-wsinstance</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tcpdump</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>unbound</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sync</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>chrony</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-ws</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>lp</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>nobody</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>mail</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>ftp</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>dbus</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sshd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>operator</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>libstoragemgmt</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>halt</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>shutdown</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>root</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>$6$xlBw8UVuLmkdkON6$s32OEMKlmQZv1MsAmV8WAbFDhpBT6Bv7/hacA0TXKtVicfeN02dskcI.6Tk70kT67PIHO.lIIFlf4dtdlEH3v1</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>SHA-512</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>adm</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-resolve</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>bin</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-coredump</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>clevis</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>polkitd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>games</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>setroubleshoot</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tss</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>stuser</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>$6$kbKXTJNyzqrzCuqK$e8hZM/PuI6FzOs6vN2dis0SMfhBfjWwk/8AnHGDIngIIibZVoE0RI9NfW2kFpRRkxuCoavBH8IeKRBkOuk/SS1</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Exists</td>
<td>30</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>SHA-512</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sssd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.4 |
| Label: | Use Unique Passwords |
| Description: | Where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system. |
The PASS_MIN_DAYS parameter in /etc/login.defs allows an administrator to prevent users from changing their password until a minimum number of days have passed since the last time the user changed their password. It is recommended that PASS_MIN_DAYS parameter be set to 7 or more days.
By restricting the frequency of password changes, an administrator can prevent users from repeatedly changing their password in an attempt to circumvent password reuse controls.
Set the PASS_MIN_DAYS parameter to 7 in /etc/login.defs :
PASS_MIN_DAYS 7
Modify user parameters for all users with a password set to match:
# chage --mindays 7 <user>
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.2_Ensure_minimum_days_between_password_changes_is_7_or_more"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659463"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659463">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659463"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/login.defs exists and matches pattern ^\s*PASS_MIN_DAYS\s+([789]|[1-9][0-9]+)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/login.defs</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>login.defs</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*PASS_MIN_DAYS\s+([789]|[1-9][0-9]+)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659467"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659467">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659467"
check="none satisfy"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Ensure no users with a Password have password change minimum under 7 days"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>daemon</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-wsinstance</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tcpdump</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>unbound</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sync</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>chrony</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-ws</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>lp</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>nobody</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>mail</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>ftp</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>dbus</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sshd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>operator</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>libstoragemgmt</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>halt</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>shutdown</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>root</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>$6$xlBw8UVuLmkdkON6$s32OEMKlmQZv1MsAmV8WAbFDhpBT6Bv7/hacA0TXKtVicfeN02dskcI.6Tk70kT67PIHO.lIIFlf4dtdlEH3v1</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>SHA-512</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>adm</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-resolve</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>bin</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-coredump</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>clevis</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>polkitd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>games</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>setroubleshoot</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tss</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>stuser</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>$6$kbKXTJNyzqrzCuqK$e8hZM/PuI6FzOs6vN2dis0SMfhBfjWwk/8AnHGDIngIIibZVoE0RI9NfW2kFpRRkxuCoavBH8IeKRBkOuk/SS1</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Exists</td>
<td>30</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>SHA-512</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sssd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr class="evaluated">
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.4 |
| Label: | Use Unique Passwords |
| Description: | Where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system. |
The PASS_WARN_AGE parameter in /etc/login.defs allows an administrator to notify users that their password will expire in a defined number of days. It is recommended that the PASS_WARN_AGE parameter be set to 7 or more days.
Providing an advance warning that a password will be expiring gives users time to think of a secure password. Users caught unaware may choose a simple password or write it down where it may be discovered.
Set the PASS_WARN_AGE parameter to 7 in /etc/login.defs :
PASS_WARN_AGE 7
Modify user parameters for all users with a password set to match:
# chage --warndays 7 <user>
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.3_Ensure_password_expiration_warning_days_is_7_or_more"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.154+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659474"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659474">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659474"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/login.defs exists and matches pattern ^\s*PASS_WARN_AGE\s+([789]|[1-9][0-9]+)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/login.defs</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>login.defs</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*PASS_WARN_AGE\s+([789]|[1-9][0-9]+)\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>PASS_WARN_AGE 7
#</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>PASS_WARN_AGE 7
#</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>
#</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659479"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659479">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659479"
check="none satisfy"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Ensure no users with a Password have password expiration warning under 7 days"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>daemon</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-wsinstance</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tcpdump</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>unbound</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sync</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>chrony</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-ws</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>lp</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>nobody</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>mail</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>ftp</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>dbus</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sshd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>operator</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>libstoragemgmt</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>halt</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>shutdown</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>root</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>$6$xlBw8UVuLmkdkON6$s32OEMKlmQZv1MsAmV8WAbFDhpBT6Bv7/hacA0TXKtVicfeN02dskcI.6Tk70kT67PIHO.lIIFlf4dtdlEH3v1</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>SHA-512</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>adm</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-resolve</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>bin</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-coredump</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>clevis</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>polkitd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>games</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>setroubleshoot</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tss</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>stuser</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>$6$kbKXTJNyzqrzCuqK$e8hZM/PuI6FzOs6vN2dis0SMfhBfjWwk/8AnHGDIngIIibZVoE0RI9NfW2kFpRRkxuCoavBH8IeKRBkOuk/SS1</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Exists</td>
<td>30</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>SHA-512</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sssd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr class="evaluated">
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.4 |
| Label: | Use Unique Passwords |
| Description: | Where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system. |
User accounts that have been inactive for over a given period of time can be automatically disabled. It is recommended that accounts that are inactive for 30 days after password expiration be disabled.
Inactive accounts pose a threat to system security since the users are not logging in to notice failed login attempts or other anomalies.
Run the following command to set the default password inactivity period to 30 days:
# useradd -D -f 30
Modify user parameters for all users with a password set to match:
# chage --inactive 30 <user>
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.4_Ensure_inactive_password_lock_is_30_days_or_less"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.155+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659485"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659485">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659485"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/default/useradd exists and matches pattern ^\s*INACTIVE\s*=\s*(30|[1-2][0-9]|[1-9])\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/default/useradd</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/default</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>useradd</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*INACTIVE\s*=\s*(30|[1-2][0-9]|[1-9])\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>INACTIVE=30</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>INACTIVE=30</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td>30</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659490"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659490">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659490"
check="none satisfy"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Ensure no users with a Password have password inactivation over 30 days"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>daemon</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-wsinstance</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tcpdump</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>unbound</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sync</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>chrony</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-ws</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>lp</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>nobody</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>mail</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>ftp</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>dbus</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sshd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>operator</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>libstoragemgmt</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>halt</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>shutdown</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>root</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>$6$xlBw8UVuLmkdkON6$s32OEMKlmQZv1MsAmV8WAbFDhpBT6Bv7/hacA0TXKtVicfeN02dskcI.6Tk70kT67PIHO.lIIFlf4dtdlEH3v1</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>SHA-512</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>adm</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-resolve</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>bin</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-coredump</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>clevis</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>polkitd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>games</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>setroubleshoot</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tss</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>stuser</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>$6$kbKXTJNyzqrzCuqK$e8hZM/PuI6FzOs6vN2dis0SMfhBfjWwk/8AnHGDIngIIibZVoE0RI9NfW2kFpRRkxuCoavBH8IeKRBkOuk/SS1</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Exists</td>
<td>30</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>SHA-512</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sssd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr class="evaluated">
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.4 |
| Label: | Use Unique Passwords |
| Description: | Where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system. |
All users should have a password change date in the past.
If a users recorded password change date is in the future then they could bypass any set password expiration.
Investigate any users with a password change date in the future and correct them. Locking the account, expiring the password, or resetting the password manually may be appropriate.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.5.1.5_Ensure_all_users_last_password_change_date_is_in_the_past"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.155+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724315"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:724315">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:724315"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Ensure all users with a Password have password change date in the past"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Variable Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Var Ref</td>
<td>String</td>
<td>Exists</td>
<td>oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:724315</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>85765098</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>833898</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.4 |
| Label: | Use Unique Passwords |
| Description: | Where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system. |
There are a number of accounts provided with most distributions that are used to manage applications and are not intended to provide an interactive shell.
It is important to make sure that accounts that are not being used by regular users are prevented from being used to provide an interactive shell. By default, most distributions set the password field for these accounts to an invalid string, but it is also recommended that the shell field in the password file be set to the nologin shell. This prevents the account from potentially being used to run any commands.
Run the commands appropriate for your distribution:
Set the shell for any accounts returned by the audit to nologin:
# usermod -s $(which nologin) <user>
Lock any non root accounts returned by the audit:
# usermod -L <user>
The following command will set all system accounts to a non login shell:
awk -F: '($1!="root" && $1!="sync" && $1!="shutdown" && $1!="halt" && $1!~/^\+/ &&
$3<'"$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs)"' && $7!="'"$(which nologin)"'"
&& $7!="/bin/false") {print $1}' /etc/passwd | while read user do usermod -s $(which
nologin) $user done
The following command will automatically lock not root system accounts:
awk -F: '($1!="root" && $1!~/^\+/ && $3<'"$(awk '/^\s*UID_MIN/{print $2}' /etc/login.defs)"')
{print $1}' /etc/passwd | xargs -I '{}' passwd -S '{}' | awk '($2!="L" && $2!="LK")
{print $1}' | while read user do usermod -L $user done
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.5.2_Ensure_system_accounts_are_secured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.155+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659309"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659309">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659309"
check="none satisfy"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "System Accounts Disabled"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>None satisfy</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sssd</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>991</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>987</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>User for sssd</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>setroubleshoot</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>994</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>990</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/var/lib/setroubleshoot</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>stuser</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/bin/bash</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Exists</td>
<td>144180</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>libstoragemgmt</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>995</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>991</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>daemon account for libstoragemgmt</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/var/run/lsm</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>daemon</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>2</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>2</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>daemon</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/sbin</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tcpdump</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>72</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>72</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>adm</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>3</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>4</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>adm</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/var/adm</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>polkitd</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>998</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>996</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>User for polkitd</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>mail</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>8</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>12</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>mail</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/var/spool/mail</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>chrony</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>990</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>986</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/var/lib/chrony</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>ftp</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>14</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>50</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>FTP User</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/var/ftp</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>clevis</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>997</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>993</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>Clevis Decryption Framework unprivileged user</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/var/cache/clevis</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sshd</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>74</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>74</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>Privilege-separated SSH</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/var/empty/sshd</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>operator</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>11</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>operator</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/root</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>bin</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>bin</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/bin</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-ws</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>993</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>989</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>User for cockpit web service</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/nonexisting</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tss</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>59</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>59</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>Account used for TPM access</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/dev/null</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-wsinstance</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>992</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>988</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>User for cockpit-ws instances</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/nonexisting</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>games</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>12</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>100</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>games</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/usr/games</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>nobody</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>65534</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>65534</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>Kernel Overflow User</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-coredump</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>999</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>997</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>systemd Core Dumper</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>unbound</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>996</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>992</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>Unbound DNS resolver</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/etc/unbound</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>lp</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>4</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>lp</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/var/spool/lpd</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>dbus</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>81</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>81</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>System message bus</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-resolve</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>193</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>193</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>systemd Resolver</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/</td>
</tr>
<tr class="evaluated">
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/sbin/nologin</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
The default TMOUT determines the shell timeout for users. The TMOUT value is measured in seconds.
Having no timeout value associated with a shell could allow an unauthorized user access to another user's shell session (e.g. user walks away from their computer and doesn't lock the screen). Setting a timeout value at least reduces the risk of this happening.
Edit the /etc/bashrc , /etc/profile and /etc/profile.d/*.sh files (and the appropriate files for any other shell supported on your system) and add or edit any umask parameters as follows:
readonly TMOUT=900 ; export TMOUT
Note that setting the value to readonly prevents unwanted modification during runtime.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.5.3_Ensure_default_user_shell_timeout_is_900_seconds_or_less"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.155+08:00"
version="1"
weight="1.0">
<xccdf:result>fail</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/11"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659342"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659342">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659342"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/bashrc exists and matches pattern ^\s*TMOUT=(900|[1-8][0-9][0-9]|[1-9][0-9]|[1-9])\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659343"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659343">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659343"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/bashrc exists and matches pattern ^\s*TMOUT=(90[1-9]|9[1-9][0-9]|[1-9][0-9]{3,})\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659348"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659348">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659348"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/profile exists and matches pattern ^\s*TMOUT=(900|[1-8][0-9][0-9]|[1-9][0-9]|[1-9])\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659355"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659355">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659355"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/profile exists and does not match pattern ^\s*TMOUT=(90[1-9]|9[1-9][0-9]|[1-9][0-9]{3,})\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.11 |
| Label: | Lock Workstation Sessions After Inactivity |
| Description: | Automatically lock workstation sessions after a standard period of inactivity. |
The usermod command can be used to specify which group the root user belongs to. This affects permissions of files that are created by the root user.
Using GID 0 for the root account helps prevent root -owned files from accidentally becoming accessible to non-privileged users.
Run the following command to set the root user default group to GID 0 :
# usermod -g 0 root
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.5.4_Ensure_default_group_for_the_root_account_is_GID_0"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.155+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659313"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659313">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659313"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Default Group Set For root User"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>root</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>root</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/root</td>
</tr>
<tr>
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/bin/bash</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Exists</td>
<td>143940</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The default umask determines the permissions of files created by users. The user creating the file has the discretion of making their files and directories readable by others via the chmod command. Users who wish to allow their files and directories to be readable by others by default may choose a different default umask by inserting the umask command into the standard shell configuration files ( .profile , .bashrc , etc.) in their home directories.
Setting a very secure default value for umask ensures that users make a conscious choice about their file permissions. A default umask setting of 077 causes files and directories created by users to not be readable by any other user on the system. A umask of 027 would make files and directories readable by users in the same Unix group, while a umask of 022 would make files readable by every user on the system.
Edit the /etc/bashrc , /etc/profile and /etc/profile.d/*.sh files (and the appropriate files for any other shell supported on your system) and add or edit any umask parameters as follows:
umask 027
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.5.5_Ensure_default_user_umask_is_027_or_more_restrictive"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.155+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/13"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659315"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659315">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659315"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/bashrc exists and matches pattern ^\s*umask\s+[01234567][2367]7\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/bashrc</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>bashrc</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*umask\s+[01234567][2367]7\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td> umask 027</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td> umask 027</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659320"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659320">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659320"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure no file named /etc/bashrc exists and matches pattern ^\s*umask\s+[01234567](0[7654321]|[7654321][654321])\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:complex-check operator="OR" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659326"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659326">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659326"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/profile exists and does not match pattern ^\s*umask\s+[01234567](0[7654321]|[7654321][654321])\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659329"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659329">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659329"
check="at least one"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file(s) named .*\.sh in /etc/profile.d/ exists and matches pattern ^\s*umask\s+[01234567][2367]7\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>At least one</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659322"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659322">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659322"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/profile exists and matches pattern ^\s*umask\s+[01234567][2367]7\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/profile</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>profile</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*umask\s+[01234567][2367]7\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td> umask 027</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td> umask 027</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659334"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659334">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659334"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensurefile(s) named .*\.sh in /etc/profile.d/ exists and matches pattern ^\s*umask\s+[01234567](0[7654321]|[7654321][654321])\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to prevent data exfiltration, mitigate the effects of exfiltrated data, and ensure the privacy and integrity of sensitive information. |
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The su command allows a user to run a command or shell as another user. The program has been superseded by sudo , which allows for more granular control over privileged access. Normally, the su command can be executed by any user. By uncommenting the pam_wheel.so statement in /etc/pam.d/su , the su command will only allow users in the wheel group to execute su .
Restricting the use of su , and using sudo in its place, provides system administrators better control of the escalation of user privileges to execute privileged commands. The sudo utility also provides a better logging and audit mechanism, as it can log each command executed via sudo , whereas su can only record that a user executed the su program.
Add the following line to the /etc/pam.d/su file:
auth required pam_wheel.so use_uid
Create a comma separated list of users in the wheel statement in the /etc/group file:
wheel:x:<GID>:root,<user list>
Example:
wheel:x:10:root,user1,user2,user3
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_5.7_Ensure_access_to_the_su_command_is_restricted"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.155+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659137"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659137">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659137"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/pam.d/su exists and matches pattern ^\s*auth\s+required\s+pam_wheel.so(\s+\S+)*\s+use_uid(\s+\S+)*\s*(\s+#.*)?$</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Textfilecontent Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/pam.d/su</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc/pam.d</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>su</td>
</tr>
<tr>
<td>Pattern</td>
<td>String</td>
<td>Exists</td>
<td>^\s*auth\s+required\s+pam_wheel.so(\s+\S+)*\s+use_uid(\s+\S+)*\s*(\s+#.*)?$</td>
</tr>
<tr>
<td>Instance</td>
<td>Int</td>
<td>Exists</td>
<td>1</td>
</tr>
<tr>
<td>Line</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Text</td>
<td>String</td>
<td>Exists</td>
<td>OBFUSCATED [PWD]</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Exists</td>
<td> pam_wheel.so</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Subexpression</td>
<td>String</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Windows View</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Recommendations in this section are intended as maintenance and are intended to be checked on a frequent basis to ensure system stability. Many recommendations do not have quick remediations and require investigation into the cause and best fix available and may indicate an attempted breach of system security.
This section provides guidance on securing aspects of system files and directories.
The /etc/passwd file contains user account information that is used by many system utilities and therefore must be readable for these utilities to operate.
It is critical to ensure that the /etc/passwd file is protected from unauthorized write access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.
Run the following command to set permissions on /etc/passwd :
# chown root:root /etc/passwd
# chmod 644 /etc/passwd
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.2_Ensure_permissions_on_etcpasswd_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.155+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659244"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659244">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659244"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/passwd exists and is owned by 0:0 and has permissions rw-r--r-- and does not have permissions --x-wx-wx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/passwd</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>passwd</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672657261</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887744</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1528</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
The /etc/shadow file is used to store the information about user accounts that is critical to the security of those accounts, such as the hashed password and other security information.
If attackers can gain read access to the /etc/shadow file, they can easily run a password cracking program against the hashed password to break it. Other security information that is stored in the /etc/shadow file (such as expiration) could also be useful to subvert the user accounts.
Run one of the following chown commands as appropriate and the chmod to set permissions on /etc/shadow :
# chown root:root /etc/shadow
# chown root:shadow /etc/shadow
# chmod o-rwx,g-wx /etc/shadow
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.3_Ensure_permissions_on_etcshadow_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659250"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659250">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659250"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/shadow exists and is owned by 0:0 and does not have permissions --x-wxrwx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/shadow</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>shadow</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673362</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940875</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887769</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>993</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
The /etc/group file contains a list of all the valid groups defined in the system. The command below allows read/write access for root and read access for everyone else.
The /etc/group file needs to be protected from unauthorized changes by non-privileged users, but needs to be readable as this information is used with many non-privileged programs.
Run the following command to set permissions on /etc/group :
# chown root:root /etc/group
# chmod 644 /etc/group
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.4_Ensure_permissions_on_etcgroup_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659255"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659255">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659255"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/group exists and is owned by 0:0 and has permissions rw-r--r-- and does not have permissions --x-wx-wx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/group</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>group</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672657261</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940890</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940890</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>681</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
The /etc/gshadow file is used to store the information about groups that is critical to the security of those accounts, such as the hashed password and other security information.
If attackers can gain read access to the /etc/gshadow file, they can easily run a password cracking program against the hashed password to break it. Other security information that is stored in the /etc/gshadow file (such as group administrators) could also be useful to subvert the group.
Run one of the following chown commands as appropriate and the chmod to set permissions on /etc/gshadow :
# chown root:root /etc/gshadow
# chown root:shadow /etc/gshadow
# chmod o-rwx,g-rw /etc/gshadow
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.5_Ensure_permissions_on_etcgshadow_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659261"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659261">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659261"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/gshadow exists and is owned by 0:0 and does not have permissions --x-wxrwx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/gshadow</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>gshadow</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963408</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940890</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940890</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>547</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
The /etc/passwd- file contains backup user account information.
It is critical to ensure that the /etc/passwd- file is protected from unauthorized access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.
Run the following command to set permissions on /etc/passwd- :
# chown root:root /etc/passwd-
# chmod u-x,go-rwx /etc/passwd-
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.6_Ensure_permissions_on_etcpasswd-_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659267"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659267">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659267"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/passwd- exists and is owned by 0:0 and does not have permissions --x-wx-wx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/passwd-</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>passwd-</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963999</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887744</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671869722</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>1485</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
The /etc/shadow- file is used to store backup information about user accounts that is critical to the security of those accounts, such as the hashed password and other security information.
It is critical to ensure that the /etc/shadow- file is protected from unauthorized access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.
Run the one of the following chown commands as appropriate and the chmod to set permissions on /etc/shadow- :
# chown root:root /etc/shadow-
OR
# chown root:shadow /etc/shadow-
# chmod u-x,go-rwx /etc/shadow-
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.7_Ensure_permissions_on_etcshadow-_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659273"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659273">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659273"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/shadow- exists and is owned by 0:0 and does not have permissions --x-wxrwx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/shadow-</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>shadow-</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963999</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887744</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887652</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>860</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
The /etc/group- file contains a backup list of all the valid groups defined in the system.
It is critical to ensure that the /etc/group- file is protected from unauthorized access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.
Run the following command to set permissions on /etc/group- :
# chown root:root /etc/group-
# chmod u-x,go-wx /etc/group-
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.8_Ensure_permissions_on_etcgroup-_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659279"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659279">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659279"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/group- exists and is owned by 0:0 and does not have permissions --x-wx-wx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/group-</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>group-</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963998</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940890</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887789</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>676</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
The /etc/gshadow- file is used to store backup information about groups that is critical to the security of those accounts, such as the hashed password and other security information.
It is critical to ensure that the /etc/gshadow- file is protected from unauthorized access. Although it is protected by default, the file permissions could be changed either inadvertently or through malicious actions.
Run one of the following chown commands as appropriate and the chmod to set permissions on /etc/gshadow- :
# chown root:root /etc/gshadow-
# chown root:shadow /etc/gshadow-
# chmod o-rwx,g-rw /etc/gshadow-
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.9_Ensure_permissions_on_etcgshadow-_are_configured"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659285"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659285">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659285"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/gshadow- exists and is owned by 0:0 and does not have permissions --x-wxrwx SUID SGID sticky</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/etc/gshadow-</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/etc</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>gshadow-</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr class="evaluated">
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr class="evaluated">
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>0</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671963998</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671940890</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887789</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>542</td>
</tr>
<tr class="evaluated">
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
Unix-based systems support variable settings to control access to files. World writable files are the least secure. See the chmod(2) man page for more information.
Data in world-writable files can be modified and compromised by any user on the system. World writable files may also indicate an incorrectly written script or program that could potentially be the cause of a larger compromise to the system's integrity.
Removing write access for the "other" category ( chmod o-w <filename> ) is advisable, but always consult relevant vendor documentation to avoid breaking any application dependencies on a given file.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.10_Ensure_no_world_writable_files_exist"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/13"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/world_writable_files.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/world_writable_files.sh"
href="sce/world_writable_files.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/world_writable_files.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to prevent data exfiltration, mitigate the effects of exfiltrated data, and ensure the privacy and integrity of sensitive information. |
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Sometimes when administrators delete users from the password file they neglect to remove all files owned by those users from the system.
A new user who is assigned the deleted user's user ID or group ID may then end up "owning" these files, and thus have more access on the system than was intended.
Locate files that are owned by users or groups not listed in the system configuration files, and reset the ownership of these files to some active user on the system as appropriate.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.11_Ensure_no_unowned_files_or_directories_exist"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/13/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/no_unowned_files_and_directories.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/no_unowned_files_and_directories.sh"
href="sce/no_unowned_files_and_directories.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/no_unowned_files_and_directories.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to prevent data exfiltration, mitigate the effects of exfiltrated data, and ensure the privacy and integrity of sensitive information. |
| Subcontrol: | 13.2 |
| Label: | Remove Sensitive Data or Systems Not Regularly Accessed by Organization |
| Description: | Remove sensitive data or systems not regularly accessed by the organization from the network. These systems shall only be used as stand alone systems (disconnected from the network) by the business unit needing to occasionally use the system or completely virtualized and powered off until needed. |
Sometimes when administrators delete users or groups from the system they neglect to remove all files owned by those users or groups.
A new user who is assigned the deleted user's user ID or group ID may then end up "owning" these files, and thus have more access on the system than was intended.
Locate files that are owned by users or groups not listed in the system configuration files, and reset the ownership of these files to some active user on the system as appropriate.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.1.12_Ensure_no_ungrouped_files_or_directories_exist"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/13/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/no_ungrouped_files_and_directories.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/no_ungrouped_files_and_directories.sh"
href="sce/no_ungrouped_files_and_directories.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/no_ungrouped_files_and_directories.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to prevent data exfiltration, mitigate the effects of exfiltrated data, and ensure the privacy and integrity of sensitive information. |
| Subcontrol: | 13.2 |
| Label: | Remove Sensitive Data or Systems Not Regularly Accessed by Organization |
| Description: | Remove sensitive data or systems not regularly accessed by the organization from the network. These systems shall only be used as stand alone systems (disconnected from the network) by the business unit needing to occasionally use the system or completely virtualized and powered off until needed. |
This section provides guidance on securing aspects of the users and groups.
Note: The recommendations in this section check local users and groups. Any users or groups from other sources such as LDAP will not be audited. In a domain environment similar checks should be performed against domain users and groups.
An account with an empty password field means that anybody may log in as that user without providing a password.
All accounts must have passwords or be locked to prevent the account from being used by an unauthorized user.
If any accounts in the /etc/shadow file do not have a password, run the following command to lock the account until it can be determined why it does not have a password:
# passwd -l <username>
Also, check to see if the account is logged in and investigate what it is being used for to determine if it needs to be forced off.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.1_Ensure_password_fields_are_not_empty"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/4/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-export export-name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659248"
value-id="xccdf_org.cisecurity.benchmarks_value_659248_var"/>
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659248"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659248">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659248"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure usernames pattern match .+ have shadow parameter password Pattern Match .+ (string)</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>daemon</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-wsinstance</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tcpdump</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>unbound</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sync</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>chrony</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>cockpit-ws</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>lp</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>nobody</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>mail</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>ftp</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>dbus</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sshd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>operator</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>libstoragemgmt</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>halt</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>shutdown</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>root</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>$6$xlBw8UVuLmkdkON6$s32OEMKlmQZv1MsAmV8WAbFDhpBT6Bv7/hacA0TXKtVicfeN02dskcI.6Tk70kT67PIHO.lIIFlf4dtdlEH3v1</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>SHA-512</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>adm</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-resolve</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>bin</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>systemd-coredump</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>clevis</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>polkitd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>games</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>*</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>18367</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>setroubleshoot</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>tss</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>stuser</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>$6$kbKXTJNyzqrzCuqK$e8hZM/PuI6FzOs6vN2dis0SMfhBfjWwk/8AnHGDIngIIibZVoE0RI9NfW2kFpRRkxuCoavBH8IeKRBkOuk/SS1</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Exists</td>
<td>30</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>SHA-512</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Shadow Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>sssd</td>
</tr>
<tr class="evaluated">
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>!!</td>
</tr>
<tr>
<td>Chg Lst</td>
<td>Int</td>
<td>Exists</td>
<td>19350</td>
</tr>
<tr>
<td>Chg Allow</td>
<td>Int</td>
<td>Exists</td>
<td>7</td>
</tr>
<tr>
<td>Chg Req</td>
<td>Int</td>
<td>Exists</td>
<td>365</td>
</tr>
<tr>
<td>Exp Warn</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Inact</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Exp Date</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Flag</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Encrypt Method</td>
<td>String</td>
<td>Exists</td>
<td>DES</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct the use, assignment, and configuration of administrative privileges on computers, networks, and applications. |
| Subcontrol: | 4.4 |
| Label: | Use Unique Passwords |
| Description: | Where multi-factor authentication is not supported (such as local administrator, root, or service accounts), accounts will use passwords that are unique to that system. |
The character + in various files used to be markers for systems to insert data from NIS maps at a certain point in a system configuration file. These entries are no longer required on most systems, but may exist in files that have been imported from other platforms.
These entries may provide an avenue for attackers to gain privileged access on the system.
Remove any legacy '+' entries from /etc/passwd if they exist.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.2_Ensure_no_legacy__entries_exist_in_etcpasswd"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659253"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659253">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659253"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/passwd exists and does not match pattern ^\+:</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.2 |
| Label: | Configure Centralized Point of Authentication |
| Description: | Configure access for all accounts through as few centralized points of authentication as possible, including network, security, and cloud systems. |
The root user can execute any command on the system and could be fooled into executing programs unintentionally if the PATH is not set correctly.
Including the current working directory (.) or other writable directory in root 's executable path makes it likely that an attacker can gain superuser access by forcing an administrator operating as root to execute a Trojan horse program.
Correct or justify any items discovered in the Audit step.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.3_Ensure_root_PATH_Integrity"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/root_path.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/root_path.sh"
href="sce/root_path.sh"
xccdf="pass"
exit-value="101">
<out/>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/root_path.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No output lines were collected.</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The character + in various files used to be markers for systems to insert data from NIS maps at a certain point in a system configuration file. These entries are no longer required on most systems, but may exist in files that have been imported from other platforms.
These entries may provide an avenue for attackers to gain privileged access on the system.
Remove any legacy '+' entries from /etc/shadow if they exist.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.4_Ensure_no_legacy__entries_exist_in_etcshadow"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659256"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659256">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659256"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/shadow exists and does not match pattern ^\+:</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.2 |
| Label: | Configure Centralized Point of Authentication |
| Description: | Configure access for all accounts through as few centralized points of authentication as possible, including network, security, and cloud systems. |
The character + in various files used to be markers for systems to insert data from NIS maps at a certain point in a system configuration file. These entries are no longer required on most systems, but may exist in files that have been imported from other platforms.
These entries may provide an avenue for attackers to gain privileged access on the system.
Remove any legacy '+' entries from /etc/group if they exist.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.5_Ensure_no_legacy__entries_exist_in_etcgroup"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/2"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659258"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659258">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659258"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/group exists and does not match pattern ^\+:</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.2 |
| Label: | Configure Centralized Point of Authentication |
| Description: | Configure access for all accounts through as few centralized points of authentication as possible, including network, security, and cloud systems. |
Any account with UID 0 has superuser privileges on the system.
This access must be limited to only the default root account and only from the system console. Administrative access must be through an unprivileged account using an approved mechanism as noted in Item 5.6 Ensure access to the su command is restricted.
Remove any users other than root with UID 0 or assign them a new UID if appropriate.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.6_Ensure_root_is_the_only_UID_0_account"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659263"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659263">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659263"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Ensure at least one file named /etc/passwd exists and does not match pattern ^(?!root:)[^:]*:[^:]*:0</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
While the system administrator can establish secure permissions for users' home directories, the users can easily override these.
Group or world-writable user home directories may enable malicious users to steal or modify other users' data or to gain another user's system privileges.
Making global modifications to user home directories without alerting the user community can result in unexpected outages and unhappy users. Therefore, it is recommended that a monitoring policy be established to report user file permissions and determine the action to be taken in accordance with site policy.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.7_Ensure_users_home_directories_permissions_are_750_or_more_restrictive"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659280"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659280">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659280"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "No User Home Directories Have Permissions ----w-rwx"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>directory</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671971454</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671969977</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671969977</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>4096</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.6 |
| Label: | Protect Information through Access Control Lists |
| Description: | Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. |
The user home directory is space defined for the particular user to set local environment variables and to store personal files.
Since the user is accountable for files stored in the user home directory, the user must be the owner of the directory.
Change the ownership of any home directories that are not owned by the defined user to the correct user.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.8_Ensure_users_own_their_home_directories"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://open-scap.org/page/SCE"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="sce/users_own_home_directory.sh"/>
<xccdf:check-content>
<command_result script="/Assessor/sce/users_own_home_directory.sh"
href="sce/users_own_home_directory.sh"
xccdf="pass"
exit-value="101">
<out>
<l>All users own their own home directory</l>
</out>
<err/>
<env/>
</command_result>
</xccdf:check-content>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="sce">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Script:</td>
<td>sce/users_own_home_directory.sh</td>
</tr>
<tr>
<td class="bold">Result:</td>
<td class="pass">pass</td>
</tr>
<tr>
<td class="bold">Exit Value:</td>
<td>101</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Output:</td>
<td>
<ul class="unstyled">
<li>All users own their own home directory</li>
</ul>
</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tbody class="tbe">
<tr>
<td>No error lines were collected.</td>
</tr>
</tbody>
</table>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.6 |
| Label: | Protect Information through Access Control Lists |
| Description: | Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. |
While the system administrator can establish secure permissions for users' "dot" files, the users can easily override these.
Group or world-writable user configuration files may enable malicious users to steal or modify other users' data or to gain another user's system privileges.
Making global modifications to users' files without alerting the user community can result in unexpected outages and unhappy users. Therefore, it is recommended that a monitoring policy be established to report user dot file permissions and determine the action to be taken in accordance with site policy.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.9_Ensure_users_dot_files_are_not_group_or_world_writable"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659286"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659286">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659286"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "No User Dot Files Have Permissions ----w--w-"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser/.bash_logout</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.bash_logout</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671888539</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887744</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1632985875</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>18</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser/.bash_profile</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.bash_profile</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673622</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887744</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1632985875</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>141</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser/.bashrc</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.bashrc</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673622</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671887744</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1632985875</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>376</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser/.bash_history</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.bash_history</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673622</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673622</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671974125</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>6033</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Filepath</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser/.viminfo</td>
</tr>
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.viminfo</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>regular</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671969977</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671969977</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671969977</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>12802</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.6 |
| Label: | Protect Information through Access Control Lists |
| Description: | Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. |
The .forward file specifies an email address to forward the user's mail to.
Use of the .forward file poses a security risk in that sensitive data may be inadvertently transferred outside the organization. The .forward file also poses a risk as it can be used to execute commands that may perform unintended actions.
Making global modifications to users' files without alerting the user community can result in unexpected outages and unhappy users. Therefore, it is recommended that a monitoring policy be established to report user .forward files and determine the action to be taken in accordance with site policy.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.10_Ensure_no_users_have_.forward_files"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659287"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659287">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659287"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "No User Home Directories Contain .forward Files"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.forward</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
The .netrc file contains data for logging into a remote host for file transfers via FTP.
The .netrc file presents a significant security risk since it stores passwords in unencrypted form. Even if FTP is disabled, user accounts may have brought over .netrc files from other systems which could pose a risk to those systems.
Making global modifications to users' files without alerting the user community can result in unexpected outages and unhappy users. Therefore, it is recommended that a monitoring policy be established to report user .netrc files and determine the action to be taken in accordance with site policy.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.11_Ensure_no_users_have_.netrc_files"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659292"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659292">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659292"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "No User Home Directories Contain .netrc Files"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.netrc</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
While the system administrator can establish secure permissions for users' .netrc files, the users can easily override these.
.netrc files may contain unencrypted passwords that may be used to attack other systems.
Making global modifications to users' files without alerting the user community can result in unexpected outages and unhappy users. Therefore, it is recommended that a monitoring policy be established to report user .netrc file permissions and determine the action to be taken in accordance with site policy.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.12_Ensure_users_.netrc_Files_are_not_group_or_world_accessible"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.157+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/14/subcontrol/6"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659295"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659295">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659295"
check="all"
check_existence="any_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "No User .netrc Files Have Permissions ---rwxrwx"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>Any Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.netrc</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr class="evaluated">
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | The processes and tools used to track/control/prevent/correct secure access to critical assets (e.g., information, resources, systems) according to the formal determination of which persons, computers, and applications have a need and right to access these critical assets based on an approved classification. |
| Subcontrol: | 14.6 |
| Label: | Protect Information through Access Control Lists |
| Description: | Protect all information stored on systems with file system, network share, claims, application, or database specific access control lists. These controls will enforce the principle that only authorized individuals should have access to the information based on their need to access the information as a part of their responsibilities. |
While no .rhosts files are shipped by default, users can easily create them.
This action is only meaningful if .rhosts support is permitted in the file /etc/pam.conf . Even though the .rhosts files are ineffective if support is disabled in /etc/pam.conf , they may have been brought over from other systems and could contain information useful to an attacker for those other systems.
Making global modifications to users' files without alerting the user community can result in unexpected outages and unhappy users. Therefore, it is recommended that a monitoring policy be established to report user .rhosts files and determine the action to be taken in accordance with site policy.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.13_Ensure_no_users_have_.rhosts_files"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.158+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16/subcontrol/4"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659300"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659300">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659300"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "No User Home Directories Contain .rhost Files"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>.rhost</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Not collected</td>
<td>No Value</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>null</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Does not exist</td>
<td>No Value</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
| Subcontrol: | 16.4 |
| Label: | Encrypt or Hash all Authentication Credentials |
| Description: | Encrypt or hash with a salt all authentication credentials when stored. |
Over time, system administration errors and changes can lead to groups being defined in /etc/passwd but not in /etc/group .
Groups defined in the /etc/passwd file but not in the /etc/group file pose a threat to system security since group permissions are not properly managed.
Analyze the output of the Audit step above and perform the appropriate action to correct any discrepancies found.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.14_Ensure_all_groups_in_etcpasswd_exist_in_etcgroup"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.158+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659303"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659303">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659303"
check="all"
check_existence="all_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "All Groups In /etc/passwd Exist In /etc/group"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>All Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Password Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Username</td>
<td>String</td>
<td>Exists</td>
<td>stuser</td>
</tr>
<tr>
<td>Password</td>
<td>String</td>
<td>Exists</td>
<td>x</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>Gcos</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Home Dir</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Login Shell</td>
<td>String</td>
<td>Exists</td>
<td>/bin/bash</td>
</tr>
<tr>
<td>Last Login</td>
<td>Int</td>
<td>Exists</td>
<td>144180</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
Although the useradd program will not let you create a duplicate User ID (UID), it is possible for an administrator to manually edit the /etc/passwd file and change the UID field.
Users must be assigned unique UIDs for accountability and to ensure appropriate access protections.
Based on the results of the audit script, establish unique UIDs and review all files owned by the shared UIDs to determine which UID they are supposed to belong to.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.15_Ensure_no_duplicate_UIDs_exist"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.158+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659308"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659308">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659308"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Check For Duplicate UIDs"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Variable Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Var Ref</td>
<td>String</td>
<td>Exists</td>
<td>oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659308</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>29</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
Although the groupadd program will not let you create a duplicate Group ID (GID), it is possible for an administrator to manually edit the /etc/group file and change the GID field.
User groups must be assigned unique GIDs for accountability and to ensure appropriate access protections.
Based on the results of the audit script, establish unique GIDs and review all files owned by the shared GID to determine which group they are supposed to belong to.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.16_Ensure_no_duplicate_GIDs_exist"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.158+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659312"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659312">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659312"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Check For Duplicate GIDs"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Variable Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Var Ref</td>
<td>String</td>
<td>Exists</td>
<td>oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659312</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>49</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
Although the useradd program will not let you create a duplicate user name, it is possible for an administrator to manually edit the /etc/passwd file and change the user name.
If a user is assigned a duplicate user name, it will create and have access to files with the first UID for that username in /etc/passwd . For example, if "test4" has a UID of 1000 and a subsequent "test4" entry has a UID of 2000, logging in as "test4" will use UID 1000. Effectively, the UID is shared, which is a security problem.
Based on the results of the audit script, establish unique user names for the users. File ownerships will automatically reflect the change as long as the users have unique UIDs.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.17_Ensure_no_duplicate_user_names_exist"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.158+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659317"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659317">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659317"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Check For Duplicate User Names"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Variable Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Var Ref</td>
<td>String</td>
<td>Exists</td>
<td>oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659317</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>29</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
Although the groupadd program will not let you create a duplicate group name, it is possible for an administrator to manually edit the /etc/group file and change the group name.
If a group is assigned a duplicate group name, it will create and have access to files with the first GID for that group in /etc/group . Effectively, the GID is shared, which is a security problem.
Based on the results of the audit script, establish unique names for the user groups. File group ownerships will automatically reflect the change as long as the groups have unique GIDs.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.18_Ensure_no_duplicate_group_names_exist"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.158+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/16"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659323"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659323">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659323"
check="all"
check_existence="at_least_one_exists">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Check For Duplicate Group Names"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>At Least One Exists</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>Variable Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Var Ref</td>
<td>String</td>
<td>Exists</td>
<td>oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:var:659323</td>
</tr>
<tr class="evaluated">
<td>Value</td>
<td>Int</td>
<td>Exists</td>
<td>49</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Actively manage the life cycle of system and application accounts - their creation, use, dormancy, deletion - in order to minimize opportunities for attackers to leverage them. |
The shadow group allows system programs which require access the ability to read the /etc/shadow file. No users should be assigned to the shadow group.
Any users assigned to the shadow group would be granted read access to the /etc/shadow file. If attackers can gain read access to the /etc/shadow file, they can easily run a password cracking program against the hashed passwords to break them. Other security information that is stored in the /etc/shadow file (such as expiration) could also be useful to subvert additional user accounts.
Remove all users from the shadow group, and change the primary group of any users with shadow as their primary group.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.19_Ensure_shadow_group_is_empty"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.158+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659328"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659328">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659328"
check="all"
check_existence="none_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "Shadow Group is Empty"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>None Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<tr>
<td>No matching system characteristics were found.</td>
</tr>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |
Users can be defined in /etc/passwd without a home directory or with a home directory that does not actually exist.
If the user's home directory does not exist or is unassigned, the user will be placed in "/" and will not be able to write any files or have local environment variables set.
If any users' home directories do not exist, create them and make sure the respective user owns the directory. Users without an assigned home directory should be removed or assigned a home directory as appropriate.
| AND |
|
<xccdf:rule-result xmlns:xccdf="http://checklists.nist.gov/xccdf/1.2"
xmlns:notes="http://benchmarks.cisecurity.org/notes"
xmlns:ae="http://benchmarks.cisecurity.org/ae/0.5"
xmlns:ciscf="https://benchmarks.cisecurity.org/ciscf/1.0"
xmlns:cc7="http://cisecurity.org/20-cc/v7.0"
xmlns:cc6="http://cisecurity.org/20-cc/v6.1"
xmlns:ciscat-checklist="http://checklists.nist.gov/xccdf/1.2"
xmlns="http://checklists.nist.gov/xccdf/1.2"
xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:scap-con="http://scap.nist.gov/schema/scap/constructs/1.2"
xmlns:arf="http://scap.nist.gov/schema/asset-reporting-format/1.1"
xmlns:dsc="http://scap.nist.gov/schema/scap/source/1.2"
xmlns:ai="http://scap.nist.gov/schema/asset-identification/1.1"
idref="xccdf_org.cisecurity.benchmarks_rule_6.2.20_Ensure_all_users_home_directories_exist"
role="full"
severity="unknown"
time="2023-01-02T23:40:54.158+08:00"
version="1"
weight="1.0">
<xccdf:result>pass</xccdf:result>
<xccdf:ident cc7:controlURI="http://cisecurity.org/20-cc/v7.0/control/5/subcontrol/1"
system="http://cisecurity.org/20-cc/v7.0"/>
<xccdf:complex-check operator="AND" negate="false">
<xccdf:check system="http://oval.mitre.org/XMLSchema/oval-definitions-5"
negate="false"
multi-check="false">
<xccdf:check-content-ref href="#OVAL-Results-1"
name="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659275"/>
<evidence xmlns="http://cisecurity.org/evidence">
<div class="definition"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:def:659275">
<div class="criteria">
<div class="criterion"
id="oval:org.cisecurity.benchmarks.redhat_redhat_enterprise_linux_8:tst:659275"
check="all"
check_existence="all_exist">
<table class="evidence-sep" width="100%">
<tbody class="tbe">
<tr>
<td class="bold">Criterion:</td>
<td>Linux Custom Object "All User Home Directories Exist"</td>
</tr>
<tr>
<td class="bold">Existence Check:</td>
<td>All Exist</td>
</tr>
<tr>
<td class="bold">Item Check:</td>
<td>All</td>
</tr>
</tbody>
</table>
<table class="evidence" width="100%">
<caption>File Item</caption>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Type</th>
<th scope="col">Status</th>
<th scope="col">Value</th>
</tr>
</thead>
<tbody class="tbe">
<tr>
<td>Path</td>
<td>String</td>
<td>Exists</td>
<td>/home/stuser</td>
</tr>
<tr>
<td>Filename</td>
<td>String</td>
<td>Exists</td>
<td>No Value</td>
</tr>
<tr>
<td>Type</td>
<td>String</td>
<td>Exists</td>
<td>directory</td>
</tr>
<tr>
<td>Group Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>User Id</td>
<td>Int</td>
<td>Exists</td>
<td>1000</td>
</tr>
<tr>
<td>A Time</td>
<td>Int</td>
<td>Exists</td>
<td>1672673905</td>
</tr>
<tr>
<td>C Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671969977</td>
</tr>
<tr>
<td>M Time</td>
<td>Int</td>
<td>Exists</td>
<td>1671969977</td>
</tr>
<tr>
<td>Size</td>
<td>Int</td>
<td>Exists</td>
<td>4096</td>
</tr>
<tr>
<td>Suid</td>
<td>Int</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sgid</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Sticky</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Uread</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Uexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>true</td>
</tr>
<tr>
<td>Gread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gwrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Gexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oread</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Owrite</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Oexec</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
<tr>
<td>Has Extended Acl</td>
<td>Boolean</td>
<td>Exists</td>
<td>false</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</evidence>
</xccdf:check>
</xccdf:complex-check>
</xccdf:rule-result>
References:
CIS Controls V7.0:
| CIS Control Information | |
|---|---|
| Control: | Establish, implement, and actively manage (track, report on, correct) the security configuration of mobile devices, laptops, servers, and workstations using a rigorous configuration management and change control process in order to prevent attackers from exploiting vulnerable services and settings. |
| Subcontrol: | 5.1 |
| Label: | Establish Secure Configurations |
| Description: | Maintain documented, standard security configuration standards for all authorized operating systems and software. |